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

Support union all without an outer select *

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • Query Processor

    Description

      In hive for union alls the query has to be wrapped in an sub query as shown below:

      select * from
      (select c1 from t1
      union all
      select c2 from t2);

      This JIRA proposes to fix that to support

      select c1 from t1
      union all
      select c2 from t2;

      Attachments

        Issue Links

          Activity

            People

              hagleitn Gunther Hagleitner
              athusoo Ashish Thusoo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: