Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
ghx-label-7
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
- causes
-
IMPALA-8772 Import Testcase failed for SQL without table refs
- Closed
- is duplicated by
-
IMPALA-7346 Capture locality data for debug
- Resolved
- is related to
-
IMPALA-11901 COPY TESTCASE is broken in LocalCatalog mode
- Resolved
-
IMPALA-11885 Support COPY TESTCASE statement for kudu tables
- Open
-
IMPALA-7346 Capture locality data for debug
- Resolved
-
IMPALA-6858 Add type information to query profiles
- Resolved
1.
|
Automatically capture test cases for queries. | Open | Unassigned |