[ https://issues.apache.org/jira/browse/HIVE-22321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16959031#comment-16959031 ]
Hive QA commented on HIVE-22321: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12983907/HIVE-22321.2.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 17546 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[sample10] (batchId=135) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/19143/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/19143/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-19143/ 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 Tests exited with: TestsFailedException: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12983907 - 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 > > > {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)