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

Steve Carlin updated IMPALA-14019:
----------------------------------
        Parent:     (was: IMPALA-14404)
    Issue Type: Bug  (was: Sub-task)

> Calcite Planner: Support Union for partition key scan
> -----------------------------------------------------
>
>                 Key: IMPALA-14019
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14019
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Steve Carlin
>            Priority: Major
>
> Creating this Jira because of this comment in this code review: 
> https://gerrit.cloudera.org/#/c/22425/
> We'll have to think about unions. It obviously can't do things like the count 
> star optimization, but some of the information is useful and can pass 
> through. (But that doesn't impact this review.)
> For example: select count(*) from (select * from functional.alltypes union 
> all select * from functional.alltypestiny);
> The regular planner doesn't change this into a partition key scan, but it 
> could: select distinct year from (select year from functional.alltypes union 
> all select year from functional.alltypessmall);



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to