[
https://issues.apache.org/jira/browse/KYLIN-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14733212#comment-14733212
]
Xiaoyu Wang commented on KYLIN-983:
-----------------------------------
Hi hongbin!
Before the patch the query/sql_verifyCount dir is not execute. the
testSimpleQuery function is ignore
{code}
@Ignore
@Test
public void testSimpleQuery() throws Exception {
verifyResultRowCount("src/test/resources/query/sql_verifyCount");
}
{code}
I try to add test sql to query/sql dir but this case is limit offset. the
result is random, not equals with the H2 result.
So I add to query/sql_verifyCount dir.and delete the ignore annotation. disable
the other querys.
> Query sql offset keyword bug
> ----------------------------
>
> Key: KYLIN-983
> URL: https://issues.apache.org/jira/browse/KYLIN-983
> Project: Kylin
> Issue Type: Bug
> Components: Query Engine, Storage - HBase
> Affects Versions: v0.7.2
> Reporter: Xiaoyu Wang
> Assignee: liyang
> Fix For: v2.0, v1.1
>
> Attachments: KYLIN-983-Query-sql-offset-keyword-bug-V2.patch,
> KYLIN-983-Query-sql-offset-keyword-bug-V3-0.7-staging-branch.patch,
> KYLIN-983-Query-sql-offset-keyword-bug-V3-0.8-branch.patch,
> KYLIN-983-Query-sql-offset-keyword-bug.patch
>
>
> SQL is:
> {code}
> select type,count(*) from test group by type limit 1 offset 10
> {code}
> the resultset size is 0.
> I see the hbase scanner only judge the limit size,not found the offset size.
> The most queries offset is calcite service when the scan count bigger than
> limit+offset.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)