Paul Rogers created IMPALA-8182:
-----------------------------------

             Summary: Extend PlanCtx to provide access to the entire internal 
plan
                 Key: IMPALA-8182
                 URL: https://issues.apache.org/jira/browse/IMPALA-8182
             Project: IMPALA
          Issue Type: Improvement
          Components: Frontend
    Affects Versions: Impala 3.1.0
            Reporter: Paul Rogers
            Assignee: Paul Rogers


Historically, the Impala planner is a function: AST in one end, Thrift plan out 
the other. The planner itself creates a rich intermediate plan representation, 
but none of those objects were available for testing, forcing all tests, no 
matter how detailed, to run as end-to-end tests: SQL in one end, verify a (very 
abbreviated) DESCRIBE output out the other.

A recent change introduced the {{PlanCtx}} that provided access to the 
parallelized plan fragments. Doing so allowed adding a variety of cardinality 
tests.

It turns out that additional testing requires access to the "single node plan" 
in order to verify things like join cardinality.

This ticket asks to modify the {{PlanCtx}} to capture all the internal plan 
nodes: both single node and distributed, to enable full unit testing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to