Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Impala 3.0
-
None
-
ghx-label-8
Description
Today, the FrontEnd class uses a functional model to generate a plan: pass in SQL text to the createExecRequest() method and get back a Thrift plan ready for serialization.
For unit testing, however, we need access to the intermediate plan fragments produced by the planner. Inspecting only the Thrift version results in loss of important details.
This ticket asks to create a new PlanCtx which can capture the details for testing.