You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/07/17 10:25:00 UTC

[jira] [Commented] (DRILL-2139) Star is not expanded correctly in "select distinct" query

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

ASF GitHub Bot commented on DRILL-2139:
---------------------------------------

vvysotskyi commented on issue #237: DRILL-2139: Support distinct over star column
URL: https://github.com/apache/drill/pull/237#issuecomment-512196241
 
 
   @hsuanyi, what about the case when a new column appears during reading the table in one of the consequent batches. Will it be handled correctly with the changes in this PR? 
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Star is not expanded correctly in "select distinct" query
> ---------------------------------------------------------
>
>                 Key: DRILL-2139
>                 URL: https://issues.apache.org/jira/browse/DRILL-2139
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Query Planning &amp; Optimization
>    Affects Versions: 0.8.0
>            Reporter: Victoria Markman
>            Assignee: Sean Hsuan-Yi Chu
>            Priority: Critical
>             Fix For: Future
>
>
> {code}
> 0: jdbc:drill:schema=dfs> select distinct * from t1;
> +------------+
> |     *      |
> +------------+
> | null       |
> +------------+
> 1 row selected (0.14 seconds)
> 0: jdbc:drill:schema=dfs> select distinct * from `test.json`;
> +------------+
> |     *      |
> +------------+
> | null       |
> +------------+
> 1 row selected (0.163 seconds)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)