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

Subqueries are not supported in a UNION query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.0
    • Impala 2.1
    • None
    • running on cluster of 3 AMD powered servers

    Description

      Query:
      select * from logs where field1 in (select field2 from logs) union all select * from logs;

      Result:
      ERROR: AnalysisException: Subqueries are not supported in a UNION query: SELECT * FROM default.logs WHERE field1 IN (SELECT field2 FROM default.logs) UNION ALL SELECT * FROM default.logs

      Documentation doesn't state this shouldn't work.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mcgiver_impala_e592 Alex Finch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: