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

Support for UNION with constant SELECT clauses

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 0.5
    • Impala 0.7
    • None
    • None

    Description

      [localhost:21000] > select 'a' `x` union all select 'b' `x`;
      Query: select 'a' `x` union all select 'b' `x`
      ERROR: com.cloudera.impala.common.NotImplementedException: Distributed UNION with constant SELECT clauses not implemented.
              at com.cloudera.impala.planner.Planner.createMergeNodeFragment(Planner.java:287)
              at com.cloudera.impala.planner.Planner.createPlanFragments(Planner.java:179)
              at com.cloudera.impala.planner.Planner.createPlanFragments(Planner.java:109)
              at com.cloudera.impala.service.Frontend.createExecRequest(Frontend.java:255)
              at com.cloudera.impala.service.JniFrontend.createExecRequest(JniFrontend.java:89)
      

      It would be nice to fix this, particularly without SELECT * FROM (VALUES ('a')('b')) T support, for conjuring multiple rows out of thin air.

      Attachments

        Activity

          People

            alex.behm Alexander Behm
            henryr Henry Robinson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: