You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shao Feng Shi (Jira)" <ji...@apache.org> on 2019/10/13 00:35: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 ]

Shao Feng 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: Gang Ma
>            Assignee: Gang Ma
>            Priority: Major
>             Fix For: v3.0.0-alpha, v2.6.4
>
>
> 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
(v8.3.4#803005)