[ https://issues.apache.org/jira/browse/HIVE-2597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14040900#comment-14040900 ]
Hive QA commented on HIVE-2597: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12651945/HIVE-2597.3.patch.txt {color:red}ERROR:{color} -1 due to 17 failed/errored test(s), 5670 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestHBaseCliDriver.testCliDriver_hbase_ppd_key_range org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_dynpart_sort_optimization org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_root_dir_external_table org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_ctas org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby1 org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby4 org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby5 org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby6 org.apache.hadoop.hive.ql.parse.TestParse.testParse_join1 org.apache.hadoop.hive.ql.parse.TestParse.testParse_join2 org.apache.hadoop.hive.ql.parse.TestParse.testParse_join3 org.apache.hadoop.hive.ql.parse.TestParse.testParse_join4 org.apache.hadoop.hive.ql.parse.TestParse.testParse_join5 org.apache.hadoop.hive.ql.parse.TestParse.testParse_join6 org.apache.hadoop.hive.ql.parse.TestParse.testParse_join7 org.apache.hadoop.hive.ql.parse.TestParse.testParse_join8 org.apache.hive.jdbc.miniHS2.TestHiveServer2.testConnection {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/568/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/568/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-568/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 17 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12651945 > Repeated key in GROUP BY is erroneously displayed when using DISTINCT > --------------------------------------------------------------------- > > Key: HIVE-2597 > URL: https://issues.apache.org/jira/browse/HIVE-2597 > Project: Hive > Issue Type: Bug > Reporter: Alex Rovner > Assignee: Navis > Attachments: HIVE-2597.3.patch.txt, HIVE-2597.D8967.1.patch, > HIVE-2597.D8967.2.patch > > > The following query was simplified for illustration purposes. > This works correctly: > select client_tid, "" as myvalue1, "" as myvalue2 from clients cluster by > client_tid > The intent here is to produce two empty columns in between data. > The following query does not work: > select distinct client_tid, "" as myvalue1, "" as myvalue2 from clients > cluster by client_tid > FAILED: Error in semantic analysis: Line 1:44 Repeated key in GROUP BY "" > The key is not repeated since the aliases were given. Seems like Hive is > ignoring the aliases when the "distinct" keyword is specified. -- This message was sent by Atlassian JIRA (v6.2#6252)