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

genFileSinkPlan should use the generated SEL's RR for the partition col of FS

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • Query Planning
    • None

    Description

      Right now, when Hive writes data into a bucketed table, it will use the last OP to generate RS-SEL and then FS. However, the context rsCtx carries
      partition column from the last OP rather than from the SEL, which makes FS use the wrong partition column.

      Attachments

        1. HIVE-10546.01.patch
          4 kB
          Pengcheng Xiong

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: