Sean Hsuan-Yi Chu created DRILL-3296:
----------------------------------------

             Summary: Group By Union Distinct fails at planning
                 Key: DRILL-3296
                 URL: https://issues.apache.org/jira/browse/DRILL-3296
             Project: Apache Drill
          Issue Type: Bug
          Components: Query Planning & Optimization
            Reporter: Sean Hsuan-Yi Chu
            Assignee: Sean Hsuan-Yi Chu


For example,
select n_nationkey from
        (select n_nationkey from cp.`tpch/nation.parquet`
        union select n_nationkey from cp.`tpch/nation.parquet`)
group by n_nationkey

Will fail. Actually, this issue was already resolved in Calcite-675. After 
picking this commit, this issue will go away.



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

Reply via email to