[ https://issues.apache.org/jira/browse/HIVE-13060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zoltan Haindrich resolved HIVE-13060. ------------------------------------- Resolution: Not A Problem I'm afraid what you are trying to do is not really supported - using those classes for other purposes is fine... anyway...0.13 is kinda old...I think you may have better luck by using classes from a more recent version of hive...try a 2.x - since you are using the parser only...I think it will be fine :) > 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 > Labels: newbie, test > 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.4.14#64029)