[
https://issues.apache.org/jira/browse/HIVE-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13823852#comment-13823852
]
Hive QA commented on HIVE-3107:
-------------------------------
{color:green}Overall{color}: +1 all checks pass
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12613898/HIVE-3107.3.patch
{color:green}SUCCESS:{color} +1 4614 tests passed
Test results:
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/300/testReport
Console output:
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/300/console
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12613898
> Improve semantic analyzer to better handle column name references in group
> by/sort by clauses
> ---------------------------------------------------------------------------------------------
>
> Key: HIVE-3107
> URL: https://issues.apache.org/jira/browse/HIVE-3107
> Project: Hive
> Issue Type: Improvement
> Components: Query Processor
> Affects Versions: 0.9.0, 0.10.0, 0.11.0, 0.12.0
> Reporter: Richard Ding
> Assignee: Harish Butani
> Attachments: HIVE-3107.1.patch, HIVE-3107.2.patch, HIVE-3107.3.patch
>
>
> This is related to HIVE-1922.
> Following queries all fail with various SemanticExceptions:
> {code}
> explain select t.c from t group by c;
> explain select t.c from t group by c sort by t.c;
> explain select t.c as c0 from t group by c0;
> explain select t.c from t group by t.c sort by t.c;
> {code}
> It is true that one could always find a version of any of above queries that
> works. But one has to try to find out and it doesn't work well with machine
> generated SQL queries.
--
This message was sent by Atlassian JIRA
(v6.1#6144)