-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27177/
-----------------------------------------------------------

Review request for hive.


Bugs: HIVE-8600
    https://issues.apache.org/jira/browse/HIVE-8600


Repository: hive-git


Description
-------

HIVE-8600 : Add option to log explain output for query

When diagnosing issues, it is useful to have the explain output for the query 
already available in log4j log.

This patch adds an option to log the EXPLAIN EXTENDED output after the query 
has been semantically analyzed. It re-uses ExplainTask code that prints the 
plan.


Diffs
-----

  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 
c49a0f2b4263717ab937abea4e8dc422bc40a62f 
  ql/src/java/org/apache/hadoop/hive/ql/Driver.java 
e25450531a71ef4ae4c6d9ea1788e618189a17cb 

Diff: https://reviews.apache.org/r/27177/diff/


Testing
-------

Manually verified explain output is printed on few create, alter, load and 
select queries. 


Thanks,

Mohit Sabharwal

Reply via email to