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

Implement a SQL test case builder for gathering query diagnostics

    XMLWordPrintableJSON

Details

    Description

      The idea is to implement a test case builder for collecting enough diagnostics for a given SQL query so that it can be reproduced/recreated on another cluster easily.

      Input: A valid SQL query
      Expected output: A .sql file that can be run using impala-shell -f and has all the schema/table/view definitions required to run the query on a target cluster.

      An example:

      EXPORT TESTCASE INTO OUTFILE 'file:///tmp/repro.sql' select * from view
      

      Attachments

        Issue Links

          Activity

            People

              bharathv Bharath Vissapragada
              bharathv Bharath Vissapragada
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: