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

GenericUDFStruct should constant fold at compile time

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0, 2.0.0
    • Fix Version/s: 1.3.0, 2.0.0
    • Component/s: UDF
    • Labels:
      None
    • Release Note:
      Constant fold struct() UDF

      Description

      HIVE-11428 introduces a constant Struct Object, which is available for the runtime operators to assume as a constant parameter.

      This operator isn't constant folded during compilation since the UDF returns a complex type, which is logged as warning by the constant propogation layer.

        Attachments

        1. HIVE-11462.WIP.patch
          3 kB
          Gopal Vijayaraghavan
        2. HIVE-11462.1.patch
          5 kB
          Gopal Vijayaraghavan
        3. HIVE-11462.2.patch
          8 kB
          Gopal Vijayaraghavan
        4. HIVE-11462.3.patch
          17 kB
          Gopal Vijayaraghavan

          Issue Links

            Activity

              People

              • Assignee:
                gopalv Gopal Vijayaraghavan
                Reporter:
                gopalv Gopal Vijayaraghavan
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: