[ https://issues.apache.org/jira/browse/HIVE-22321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16959884#comment-16959884 ]
Hive QA commented on HIVE-22321: -------------------------------- | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | || || || || {color:brown} master Compile Tests {color} || || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 57s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 1m 41s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Optional Tests | asflicense | | uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) x86_64 GNU/Linux | | Build tool | maven | | Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-19158/dev-support/hive-personality.sh | | git revision | master / 6517872 | | modules | C: ql U: ql | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-19158/yetus.txt | | Powered by | Apache Yetus http://yetus.apache.org | This message was automatically generated. > Setting default nulls last does not take effect when order direction is > specified > --------------------------------------------------------------------------------- > > Key: HIVE-22321 > URL: https://issues.apache.org/jira/browse/HIVE-22321 > Project: Hive > Issue Type: Bug > Components: Parser > Reporter: Krisztian Kasa > Assignee: Krisztian Kasa > Priority: Major > Attachments: HIVE-22321.1.patch, HIVE-22321.2.patch, > HIVE-22321.3.patch, HIVE-22321.4.patch > > > {code:java} > SET hive.default.nulls.last=true; > SELECT * FROM t_test ORDER BY col1 ASC; > {code} > {code:java} > POSTHOOK: query: SELECT * FROM t_test ORDER BY col1 ASC > POSTHOOK: type: QUERY > POSTHOOK: Input: default@t_test > #### A masked pattern was here #### > NULL > NULL > NULL > NULL > 3 > 5 > 5 > {code} > [https://github.com/apache/hive/blob/cb83da943c8919e2ab3751244de5c2879c8fda1d/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g#L2510] > > cc. [~jcamachorodriguez] -- This message was sent by Atlassian Jira (v8.3.4#803005)