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

Refactor FrontEnd to make plan fragments available for testing

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Impala 3.0
    • Fix Version/s: Impala 3.2.0
    • Component/s: Frontend
    • Labels:
      None
    • Epic Color:
      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.

        Attachments

          Activity

            People

            • Assignee:
              Paul.Rogers Paul Rogers
              Reporter:
              Paul.Rogers Paul Rogers
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: