You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2019/02/22 08:32:00 UTC
[jira] [Resolved] (KYLIN-3797) Too many or filters may break Kylin
server when flatting filter
[ https://issues.apache.org/jira/browse/KYLIN-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shaofeng SHI resolved KYLIN-3797.
---------------------------------
Resolution: Fixed
> Too many or filters may break Kylin server when flatting filter
> ---------------------------------------------------------------
>
> Key: KYLIN-3797
> URL: https://issues.apache.org/jira/browse/KYLIN-3797
> Project: Kylin
> Issue Type: Improvement
> Components: Query Engine
> Reporter: Ma Gang
> Assignee: Ma Gang
> Priority: Major
> Fix For: v3.0.0
>
>
> Kylin needs to convert filter into a flat format, like: OR(AND(f1,f2), AND(f3,f4,f5)…) , so that Kylin can build HBase scan/filter accordingly, but when there are too many or filters in query, like: AND(OR(f1,f2,...,f1000), OR(g1,g2,...,g1000), OR(h1,h2,...,h1000)), then the generated flat filter size will be 1000*1000*1000=1 billion, the flatting process will cause Kylin server OOM.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)