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

Queries with union in inline view have empty resource requests

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Impala 2.0
    • Fix Version/s: Impala 2.0
    • Component/s: None
    • Labels:
      None

      Description

      A query with a union all in an inline view does not request any resources (the estimated resources per the explain plan are reasonable). Removing either the inline view or the union leads to correct behaviour.

      select * from tpch.lineitem union all select * from tpch.lineitem -> Reservation Request(queue=root.henry user=henry gang=1 request_timeout=300000 resources=[Resource(client_resource_id=4c470e6ff4c1fc9a:b1f933f7fccd7b9 v_cpu_cores=1 memory_mb=256 asked_location=localhost:31000 enforcement=0)])

      select * from (select * from tpch.lineitem union all select * from tpch.lineitem) -> Reservation Request(queue=root.henry user=henry gang=1 request_timeout=300000 resources=[])

        Attachments

          Activity

            People

            • Assignee:
              henryr Henry Robinson
              Reporter:
              henryr Henry Robinson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: