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

Correct table alias in auto_join17.q.out and etc

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      auto_join17.q include a self-join

      explain
      FROM src src1 JOIN src src2 ON (src1.key = src2.key)
      INSERT OVERWRITE TABLE dest1 SELECT src1.*, src2.*
      

      in the output, we have both of the join branch to be

      TableScan
                  alias: src1
      

      it is better if we have src1 and src2.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: