[
https://issues.apache.org/jira/browse/HIVE-19980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16523164#comment-16523164
]
Hive QA commented on HIVE-19980:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12929123/HIVE-19980.3.patch
{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.
{color:green}SUCCESS:{color} +1 due to 14606 tests passed
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/12141/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/12141/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-12141/
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: 12929123 - PreCommit-HIVE-Build
> GenericUDTFGetSplits fails when order by query returns 0 rows
> -------------------------------------------------------------
>
> Key: HIVE-19980
> URL: https://issues.apache.org/jira/browse/HIVE-19980
> Project: Hive
> Issue Type: Bug
> Affects Versions: 3.1.0, 4.0.0
> Reporter: Kshitij Badani
> Assignee: Prasanth Jayachandran
> Priority: Major
> Attachments: HIVE-19980.1.patch, HIVE-19980.2.patch,
> HIVE-19980.3.patch
>
>
> When order by query returns 0 rows, there will not be any files in temporary
> table location for GenericUDTFGetSplits
> which results in the following exception
> {code:java}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
> at
> org.apache.hadoop.hive.ql.exec.tez.HiveSplitGenerator.initialize(HiveSplitGenerator.java:217)
> at
> org.apache.hadoop.hive.ql.udf.generic.GenericUDTFGetSplits.getSplits(GenericUDTFGetSplits.java:420)
> ... 52 more{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)