[ https://issues.apache.org/jira/browse/IMPALA-5872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16883353#comment-16883353 ]
Jiawei Wang commented on IMPALA-5872: ------------------------------------- nit: commend for this should be: SET PLANNER_TESTCASE_MODE=true instead of SET PLANNER_DEBUG_MODE=true > Implement a 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 > Priority: Major > Labels: supportability > Fix For: Impala 3.2.0 > > > 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 (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org