mahendra dattatraya tonape created HIVE-13060:
-------------------------------------------------
Summary: Exception in parsing hive query in standalone utlity
Key: HIVE-13060
URL: https://issues.apache.org/jira/browse/HIVE-13060
Project: Hive
Issue Type: Bug
Components: Hive
Affects Versions: 0.13.1
Reporter: mahendra dattatraya tonape
Priority: Blocker
Fix For: 0.13.1
I had requirement in which I am parsing hive queries using following classes
from hive-exex jar
org.apache.hadoop.hive.ql.parse.ParseDriver,org.apache.hadoop.hive.ql.parse.ASTNode,org.apache.hadoop.hive.ql.parse.ParseUtils,org.apache.hadoop.hive.ql.parse.HiveParser
for accessing these classes from hive-exec jar i am using following maven
dependency in my project :
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-exec</artifactId>
<version>0.13.1-cdh5.3.0</version>
</dependency>
My hive query parsing utility works in almost all cases but surprisingly its
failing in case of following query :
INSERT INTO db_lineage.many_one_hv SELECT * FROM (SELECT * FROM
db_lineage.one_many1_hv UNION ALL SELECT * FROM db_lineage.one_many2_hv) FINAL;
This query is getting executed successfully on hive cluster with version 0.14
and 1.2 but in my local system its failing on my local system.I never connect
to hive cluster or any database,my utility is standalone parsing of hive query
and retrieve source node and destination node from it only by using hive-exec
dependencies.please let me know if you can provide any inputs on this.
Thanks and Regards, Mahendra Tonape.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)