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

GenericUDFStruct should constant fold at compile time

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0, 2.0.0
    • 1.3.0, 2.0.0
    • UDF
    • None
    • 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.1.patch
          5 kB
          Gopal Vijayaraghavan
        2. HIVE-11462.2.patch
          8 kB
          Gopal Vijayaraghavan
        3. HIVE-11462.3.patch
          17 kB
          Gopal Vijayaraghavan
        4. HIVE-11462.WIP.patch
          3 kB
          Gopal Vijayaraghavan

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: