[
https://issues.apache.org/jira/browse/DRILL-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Hsuan-Yi Chu updated DRILL-2021:
-------------------------------------
Description:
When, in the select-clause, there are star(s) and regular columns showing up
more than once, some regular columns would failed to be printed out.
For example,
select n_name, *, n_name from cp.`tpch/nation.parquet` limit 2
---------------------------------------------------------------------------------------------------------------------
n_name n_nationkey n_name0 n_regionkey n_comment
ALGERIA 0 ALGERIA 0 haggle. carefully final deposits detect slyly
agai
ARGENTINA 1 ARGENTINA 1 al foxes promise slyly
according to the regular accounts. bold requests alone
---------------------------------------------------------------------------------------------------------------------
Notice "n_name" show be printed out three times.
was:
When, in the select-clause, there are star(s) and regular columns showing up
more than once, some regular columns would failed to be printed out.
For example,
select n_name, *, n_name from cp.`tpch/nation.parquet` limit 2
n_name n_nationkey n_name0 n_regionkey n_comment
ALGERIA 0 ALGERIA 0 haggle. carefully final deposits detect slyly
agai
ARGENTINA 1 ARGENTINA 1 al foxes promise slyly
according to the regular accounts. bold requests alone
Notice "n_name" show be printed out three times.
> select a, *, a from ... gives wrong result
> ------------------------------------------
>
> Key: DRILL-2021
> URL: https://issues.apache.org/jira/browse/DRILL-2021
> Project: Apache Drill
> Issue Type: Bug
> Components: Execution - Flow, Execution - Operators
> Environment: IDE
> Reporter: Sean Hsuan-Yi Chu
> Assignee: Aman Sinha
> Priority: Critical
> Fix For: 0.8.0
>
> Attachments: DRILL-2021.1.patch, DRILL-2021.2.patch
>
>
> When, in the select-clause, there are star(s) and regular columns showing up
> more than once, some regular columns would failed to be printed out.
> For example,
> select n_name, *, n_name from cp.`tpch/nation.parquet` limit 2
> ---------------------------------------------------------------------------------------------------------------------
> n_name n_nationkey n_name0 n_regionkey n_comment
> ALGERIA 0 ALGERIA 0 haggle. carefully final deposits
> detect slyly agai
> ARGENTINA 1 ARGENTINA 1 al foxes promise slyly
> according to the regular accounts. bold requests alone
> ---------------------------------------------------------------------------------------------------------------------
> Notice "n_name" show be printed out three times.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)