kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hejian (JIRA)" <>
Subject [jira] [Commented] (KYLIN-3319) exceeds threshold 5000000 while executing SQL
Date Sun, 28 Apr 2019 11:56:00 GMT


hejian commented on KYLIN-3319:

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, 

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:
>             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

View raw message