[ 
https://issues.apache.org/jira/browse/HIVE-17268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16118329#comment-16118329
 ] 

Karen Coppage commented on HIVE-17268:
--------------------------------------

Suggested solution: 
Give Query Profile access to HiveConf, and check hive.log.explain.output in 
QueryProfileTmpl.
If off, display "Set configuration hive.log.explain.output to true to view 
future query plans"
If on, and plan is null, display "Unknown"

Downside:
HiveConf cannot be set dynamically, and is equivalent to the configuration 
provided in hive-site.xml

> WebUI / QueryPlan: query plan is sometimes null when explain output conf is on
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-17268
>                 URL: https://issues.apache.org/jira/browse/HIVE-17268
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Karen Coppage
>            Priority: Minor
>
> The Hive WebUI's Query Plan tab displays "SET hive.log.explain.output TO true 
> TO VIEW PLAN" when the statement cannot be compiled (as well as when 
> hive.log.explain.output is off), because the query plan is null in this case.



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

Reply via email to