hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaume M (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-19613) GenericUDTFGetSplits should handle fetch task with temp table rewrite
Date Thu, 09 Aug 2018 16:54:00 GMT

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

Jaume M commented on HIVE-19613:
--------------------------------

[~prasanth_j] I'm getting the same exception but [here|https://github.com/apache/hive/blob/873d31f33a061cd38be7de91b208987871fb612e/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDTFGetSplits.java#L321]
(same condition but a few lines below). I think it makes sense that if it was getting in the
fixed {{if}} it'll get in this one as well.

> 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
>            Reporter: Eric Wohlstadter
>            Assignee: Prasanth Jayachandran
>            Priority: Major
>             Fix For: 3.1.0, 3.0.1, 4.0.0
>
>         Attachments: HIVE-19613.1.patch, HIVE-19613.2.patch, HIVE-19613.3.patch
>
>
> 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}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message