[
https://issues.apache.org/jira/browse/KYLIN-3319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16827958#comment-16827958
]
hejian edited comment on KYLIN-3319 at 4/28/19 11:56 AM:
---------------------------------------------------------
hi [~zhao jintao], waiting to be solved fundamentally, this issue offen happens
when aggregation on the high-cardinality along with a longer day span.
In my case, a dimension with 3million cardinality called seller_id,
{code:java}
select seller_id, sum(volume) as count_num from tab_orders where
day_id>='2019-04-07' and day_id<2019-04-27 group by seller_id order by
count_num desc offset 0 limit 10{code}
I think it relates to the *cardinality(seller_id)* and *cardinality(day_id)*
and * *the corresponding *shards*?
how to determine the suitable value to 'kylin.query.max-return-row' or make
work well
any better solution?
was (Author: hejian999):
hi [~zhao jintao], waiting to be solved fundamentally, this issue offten
happens when aggregation on the high-cardinality along with a longer day span.
In my case, a dimension with 3million cardinality called seller_id,
{code:java}
select seller_id, sum(volume) as count_num from tab_orders where
day_id>='2019-04-07' and day_id<2019-04-27 group by seller_id order by
count_num desc offset 0 limit 10{code}
I think it relates to the *cardinality(seller_id)* and *cardinality(day_id)*
and ** the corresponding *shards*?
how to determine the suitable value to 'kylin.query.max-return-row' or make
work well
any better solution?
> exceeds threshold 5000000 while executing SQL
> ---------------------------------------------
>
> Key: KYLIN-3319
> URL: https://issues.apache.org/jira/browse/KYLIN-3319
> Project: Kylin
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: v2.3.0
> Reporter: cc
> Priority: Blocker
> Attachments: image.png, sql_limit_result.png
>
>
> {color:#d04437}hello,what is the reason of the errors?{color}
> {color:#d04437}Query returned 5008662 rows exceeds threshold 5000000 while
> executing SQL: "select * from USER_FREQ_DAY_TEST LIMIT 50000"{color}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)