[ 
https://issues.apache.org/jira/browse/KYLIN-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16007659#comment-16007659
 ] 

hongbin ma commented on KYLIN-2598:
-----------------------------------

added a threshold called kylin.query.translated-in-clause-max-size, default 
value 

> Should not translate filter to a in-clause filter with too many elements
> ------------------------------------------------------------------------
>
>                 Key: KYLIN-2598
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2598
>             Project: Kylin
>          Issue Type: Improvement
>            Reporter: hongbin ma
>            Assignee: hongbin ma
>             Fix For: v2.1.0
>
>
> In 
> org.apache.kylin.dict.BuiltInFunctionTransformer#translateFunctionTupleFilter 
> we will translate builtin-functions like upper,lower,like to in-clause 
> filters.
>  (KYLIN-993)
> The approach is In-clause filter will soon become in-efficient when too many 
> elements accumulate in the in-clause. Suggest to set a threshold so that when 
> there're more elements than this threshold, the translation will abort



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to