Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-19613

GenericUDTFGetSplits should handle fetch task with temp table rewrite

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0, 3.0.1, 4.0.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      GenericUDTFGetSplits fails for fetch task only queries. Fetch task only queries can be handled same way as >1 task queries using temp tables. 

      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

        Attachments

        1. HIVE-19613.3.patch
          2 kB
          Prasanth Jayachandran
        2. HIVE-19613.2.patch
          2 kB
          Prasanth Jayachandran
        3. HIVE-19613.1.patch
          1 kB
          Prasanth Jayachandran

          Issue Links

            Activity

              People

              • Assignee:
                prasanth_j Prasanth Jayachandran
                Reporter:
                ewohlstadter Eric Wohlstadter
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: