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

ColumnPruner prunes columns of UnionOperator that should be kept

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: CBO
    • Labels:
      None
    • Target Version/s:

      Description

      unionOperator will have the schema following the operator in the first branch. Because ColumnPruner prunes columns based on the internal name, the column in other branches may be pruned due to a different internal name from the first branch. To repro, run rcfile_union.q with return path turned on.

        Attachments

        1. HIVE-11333.01.patch
          7 kB
          Pengcheng Xiong
        2. HIVE-11333.02.patch
          140 kB
          Pengcheng Xiong

          Issue Links

            Activity

              People

              • Assignee:
                pxiong Pengcheng Xiong
                Reporter:
                pxiong Pengcheng Xiong
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: