Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9132 CBO: Calcite Operator To Hive Operator (Calcite Return Path)
  3. HIVE-10344

CBO (Calcite Return Path): Use newInstance to create ExprNodeGenericFuncDesc rather than construction function

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • cbo-branch
    • CBO
    • None

    Description

      ExprNodeGenericFuncDesc is now created using a constructer. It skips the initialization step "genericUDF.initializeAndFoldConstants" compared with using newInstance method. If the initialization step is skipped, some configuration parameters are not included in the serialization which generates wrong results/errors.

      Attachments

        1. HIVE-10344.01.patch
          5 kB
          Pengcheng Xiong

        Activity

          People

            pxiong Pengcheng Xiong
            pxiong Pengcheng Xiong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: