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

Support union all without an outer select *

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: Query Processor
    • Labels:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: