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

Allow UDFs/UDTFs to indicate whether they can run with fetch task conversion

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • UDF
    • None

    Description

      Some UDFs/UDTFs cannot run properly with fetch task conversion.
      For UDFs:

      • The UDF may be depending on files/archives added to the distributed cache, which may not be available in the local fetch task.
      • The UDF may be depending on GenericUDF.configure() to be called - this is not called for locally run UDFs.

      For UDTFs, one issue is HIVE-11892.

      A bit of a workaround, but for such UDFs/UDTFs we can have a flag to indicate whether the UDF should be allowed to run in a local fetch task.

      Attachments

        1. HIVE-13586.1.patch
          62 kB
          Jason Dere

        Issue Links

          Activity

            People

              jdere Jason Dere
              jdere Jason Dere
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: