[ https://issues.apache.org/jira/browse/HIVE-22321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16960812#comment-16960812 ]
Hive QA commented on HIVE-22321: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12984141/HIVE-22321.5.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:green}SUCCESS:{color} +1 due to 17545 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/19170/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/19170/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-19170/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase {noformat} This message is automatically generated. ATTACHMENT ID: 12984141 - PreCommit-HIVE-Build > 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, HIVE-22321.5.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)