Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1006

Nested union all with an order by column that is not in the outer select list fails.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 1.3.1
    • Impala 1.4
    • None

    Description

      The following query (using the functional.alltypesagg table) fails:
      explain select int_col from (select int_col, bigint_col from alltypesagg union all (select int_col, bigint_col from alltypesagg) order by bigint_col limit 10) A

      [localhost:21000] > explain select int_col from (select int_col, bigint_col from alltypesagg union all (select int_col, bigint_col from alltypesagg) order by bigint_col limit 10) A;
      Query: explain select int_col from (select int_col, bigint_col from alltypesagg union all (select int_col, bigint_col from alltypesagg) order by bigint_col limit 10) A
      ERROR: IllegalStateException: null

      Attachments

        Activity

          People

            srinathshankar Srinath
            srinathshankar Srinath
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: