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

ColumnPruner prunes columns of UnionOperator that should be kept

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • CBO
    • None

    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.02.patch
          140 kB
          Pengcheng Xiong
        2. HIVE-11333.01.patch
          7 kB
          Pengcheng Xiong

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: