You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2017/04/04 22:29:41 UTC
[jira] [Created] (HIVE-16376) Driver.queryState.commandType is
often not set correctly
Eugene Koifman created HIVE-16376:
-------------------------------------
Summary: Driver.queryState.commandType is often not set correctly
Key: HIVE-16376
URL: https://issues.apache.org/jira/browse/HIVE-16376
Project: Hive
Issue Type: Improvement
Affects Versions: 1.0.0
Reporter: Eugene Koifman
For example, various EXPLAIN <....> operations all have this set to QUERY though it would make more sense to set it to HiveOperation.EXPLAIN especially since ExplainSemanticAnalyzer forks off another instance of Driver to run the <...> for EXPLAIN ANALYZE <...> types of commands but shares the QueryState between the 2.
Changing this of course causes a lot of .q.out files to change.
It would useful in general for the Driver to know the HiveOperation type more precisely.
For example, there is no distinction between SELECT/UPDATE/INSERT/DELETE/MERGE.
Need to clean this up.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)