[
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)