kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dong Li (JIRA)" <>
Subject [jira] [Created] (KYLIN-2085) PrepareStatement return incorrect result in some cases
Date Wed, 12 Oct 2016 02:30:20 GMT
Dong Li created KYLIN-2085:

             Summary: PrepareStatement return incorrect result in some cases
                 Key: KYLIN-2085
             Project: Kylin
          Issue Type: Bug
          Components: Driver - JDBC
            Reporter: Dong Li

With Kylin sample data,execute following SQL can get result: 
select count(*) from kylin_sales where lstg_format_name>='ABIN' and lstg_format_name<='BBBB'
Result: 4054

Send post with prestate:
POST http://localhost:7070/kylin/api/query/prestate
{"sql":"select count(*) from kylin_sales where lstg_format_name>=? and lstg_format_name<=?","offset":0,"limit":50000,"acceptPartial":true,"project":"learn_kylin","params":[{"className":"java.lang.String",
"value":"ABIN"},{"className":"java.lang.String", "value":"BBBB"}]}

Result: 0

This message was sent by Atlassian JIRA

View raw message