Prasanth Jayachandran created HIVE-19613: --------------------------------------------
Summary: GenericUDTFGetSplits should handle fetch task with temp table rewrite Key: HIVE-19613 URL: https://issues.apache.org/jira/browse/HIVE-19613 Project: Hive Issue Type: Bug Affects Versions: 3.1.0 Environment: GenericUDTFGetSplits fails for fetch task only queries. Fetch task only queries can be handled same way as >1 task queries using temp tables. {code:java} Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Was expecting a single TezTask. at org.apache.hadoop.hive.ql.udf.generic.GenericUDTFGetSplits.createPlanFragment(GenericUDTFGetSplits.java:262) at org.apache.hadoop.hive.ql.udf.generic.GenericUDTFGetSplits.process(GenericUDTFGetSplits.java:201) at org.apache.hadoop.hive.ql.exec.UDTFOperator.process(UDTFOperator.java:116) at org.apache.hadoop.hive.ql.exec.Operator.baseForward(Operator.java:984) at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:930) at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:917) at org.apache.hadoop.hive.ql.exec.SelectOperator.process(SelectOperator.java:95) at org.apache.hadoop.hive.ql.exec.Operator.baseForward(Operator.java:984) at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:930) at org.apache.hadoop.hive.ql.exec.TableScanOperator.process(TableScanOperator.java:125) at org.apache.hadoop.hive.ql.exec.FetchOperator.pushRow(FetchOperator.java:492) at org.apache.hadoop.hive.ql.exec.FetchOperator.pushRow(FetchOperator.java:484) at org.apache.hadoop.hive.ql.exec.FetchTask.fetch(FetchTask.java:145) ... 16 more{code} Reporter: Eric Wohlstadter Assignee: Prasanth Jayachandran -- This message was sent by Atlassian JIRA (v7.6.3#76005)