Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2207

Fix Union All Operator

    XMLWordPrintableJSON

Details

    Description

      The current specification/behavior of UNION ALL is not well defined.
      This issue attempts to reach agreement on the expected behavior of UNION ALL.

      A link for the latest design document is below:
      https://docs.google.com/document/d/1OQFQ6IvdeBJkDLKHFBlwP3tle2WuzpBgZf6R_6Vh0mw/edit
      ..............................................................................................................................

      An example of the current implementation:
      (select n_name from cp.`tpch/nation.parquet` limit 1)" +
      "UNION ALL " +
      "(select r_name from cp.`tpch/region.parquet` limit 1);

      returns:

      n_name
      ALGERIA
      r_name
      AFRICA

      Attachments

        1. DRILL-2207.1.patch
          75 kB
          Sean Hsuan-Yi Chu

        Issue Links

          Activity

            People

              seanhychu Sean Hsuan-Yi Chu
              seanhychu Sean Hsuan-Yi Chu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: