[
https://issues.apache.org/jira/browse/DRILL-2139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14988934#comment-14988934
]
ASF GitHub Bot commented on DRILL-2139:
---------------------------------------
GitHub user hsuanyi opened a pull request:
https://github.com/apache/drill/pull/237
DRILL-2139: Support distinct over star column
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hsuanyi/incubator-drill DRILL-2139
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/237.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #237
----
commit f21a226b832810d98d675c0898c0c4b9e5660639
Author: Hsuan-Yi Chu <[email protected]>
Date: 2015-03-17T21:42:32Z
DRILL-2139: Support distinct over star column
----
> 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 & Optimization
> Affects Versions: 0.8.0
> Reporter: Victoria Markman
> Assignee: Sean Hsuan-Yi Chu
> Priority: Critical
> Fix For: 1.3.0
>
>
> {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
(v6.3.4#6332)