You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Aman Sinha (JIRA)" <ji...@apache.org> on 2015/01/18 17:26:34 UTC

[jira] [Commented] (DRILL-2021) select a, *, a from ... gives wrong result

    [ https://issues.apache.org/jira/browse/DRILL-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14281852#comment-14281852 ] 

Aman Sinha commented on DRILL-2021:
-----------------------------------

Reviewed patch and manually inspected the test results for all TestStarQueries (we really need to add validation for all of those...only the recent ones have validation check).   
Fixed in master branch, commit #: 31d764d4f

> 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, DRILL-2021.3.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)