hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-19980) GenericUDTFGetSplits fails when order by query returns 0 rows
Date Mon, 25 Jun 2018 21:15:00 GMT

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

Prasanth Jayachandran commented on HIVE-19980:
----------------------------------------------

not sure why precommit failed the .1 patch. Another try..

> 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
>
>
> 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)

Mime
View raw message