You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Prasanth Jayachandran (JIRA)" <ji...@apache.org> on 2018/06/25 18:19:00 UTC

[jira] [Created] (HIVE-19980) GenericUDTFGetSplits fails when order by query returns 0 rows

Prasanth Jayachandran created HIVE-19980:
--------------------------------------------

             Summary: 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: Prasanth Jayachandran
            Assignee: Prasanth Jayachandran


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)