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

inconsistence between colList and columnExprMap when ConstantPropagate is applied to subquery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0
    • Logical Optimizer
    • None

    Description

      Query like

      select * from (select a.key as ak, a.value as av, b.key as bk, b.value as bv from src a join src1 b where a.key = '428' ) c;

      will fail as

      FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask

      Attachments

        1. HIVE-8184.1.patch
          13 kB
          Pengcheng Xiong
        2. HIVE-8184.2.patch
          13 kB
          Pengcheng Xiong
        3. HIVE-8184.3.patch
          198 kB
          Pengcheng Xiong
        4. HIVE-8184.4.patch
          198 kB
          Pengcheng Xiong

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: