drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aman Sinha (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-3710) Make the 20 in-list optimization configurable
Date Fri, 29 Jul 2016 14:41:20 GMT

     [ https://issues.apache.org/jira/browse/DRILL-3710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aman Sinha resolved DRILL-3710.
-------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: Future)
                   1.8.0

Merged [~gparai]'s patch in commit #: 4e1bdac

> Make the 20 in-list optimization configurable
> ---------------------------------------------
>
>                 Key: DRILL-3710
>                 URL: https://issues.apache.org/jira/browse/DRILL-3710
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Query Planning & Optimization
>    Affects Versions: 1.1.0
>            Reporter: Hao Zhu
>            Assignee: Gautam Kumar Parai
>             Fix For: 1.8.0
>
>
> If Drill has more than 20 in-lists , Drill can do an optimization to convert that in-lists
into a small hash table in memory, and then do a table join instead.
> This can improve the performance of the query which has many in-lists.
> Could we make "20" configurable? So that we do not need to add duplicate/junk in-list
to make it more than 20.
> Sample query is :
> select count(*) from table where col in (1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message