hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongzhi Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10160) Give a warning when grouping or ordering by a constant column
Date Sat, 04 Apr 2015 09:14:33 GMT

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

Yongzhi Chen commented on HIVE-10160:
-------------------------------------

The 13 tests failures are caused by the same error: TestMinimrCliDriver does not compile,
error message is:
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ hive-it-qfile ---
[INFO] Compiling 14 source files to /home/hiveptest/54.147.211.36-hiveptest-1/apache-svn-trunk-source/itests/qtest/target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/hiveptest/54.147.211.36-hiveptest-1/apache-svn-trunk-source/itests/qtest/target/generated-test-sources/java/org/apache/hadoop/hive/cli/TestCliDriver.java:[100,22]
code too large
[INFO] 1 error

 My patches did add two qfile tests for CliDriver tests, but not to minimr. The newly added
tests all passed, I do not know why they affect minimr tests build(the number of test qfiles
exceeds some limitation?). Attach a new patch without tests and try again. 


> Give a warning when grouping or ordering by a constant column
> -------------------------------------------------------------
>
>                 Key: HIVE-10160
>                 URL: https://issues.apache.org/jira/browse/HIVE-10160
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Lefty Leverenz
>            Assignee: Yongzhi Chen
>            Priority: Minor
>         Attachments: HIVE-10160.1.patch, HIVE-10160.3.patch
>
>
> To avoid confusion, a warning should be issued when users specify column positions instead
of names in a GROUP BY or ORDER BY clause (unless hive.groupby.orderby.position.alias is set
to true in Hive 0.11.0 or later).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message