drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Nadeau (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-636) Push Limit operator past project, left outer join, union all operator and down into scan operator
Date Sun, 10 Aug 2014 22:08:16 GMT

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

Jacques Nadeau updated DRILL-636:
---------------------------------

    Fix Version/s:     (was: 0.5.0)
                   Future

> Push Limit operator past project, left outer join, union all operator and down into scan
operator 
> --------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-636
>                 URL: https://issues.apache.org/jira/browse/DRILL-636
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Query Planning & Optimization
>            Reporter: Jinfeng Ni
>            Assignee: Aman Sinha
>             Fix For: Future
>
>
> When we have a limit operator on top of project, left outer join, union all operator,
we should push the limit operator, until the limit is put into scan operator. Doing so, it
will reduce the amount of data scanned by the scan operator.
> For instance,
> Select COL1, COL2 FROM T1 LIMIT 5;
> LIMIT (5)
>  \
> PROJECT (COL1, COL2)
>  \
> SCAN (T1).
> We need push limit past project, down into scan.
> Similar applies to left outer join, or union all.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message