You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "bharath v (JIRA)" <ji...@apache.org> on 2017/08/31 07:05:00 UTC

[jira] [Created] (IMPALA-5872) Implement an SQL test case builder for gathering query diagnostics

bharath v created IMPALA-5872:
---------------------------------

             Summary: Implement an SQL test case builder for gathering query diagnostics
                 Key: IMPALA-5872
                 URL: https://issues.apache.org/jira/browse/IMPALA-5872
             Project: IMPALA
          Issue Type: Improvement
          Components: Frontend
            Reporter: bharath v
            Assignee: bharath v


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:

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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)