Re: Parsing Hive queries to get table names and column names

2014-11-07 Thread Lefty Leverenz
Ritesh, a better forum would be u...@hive.apache.org -- see http://hive.apache.org/mailing_lists.html. -- Lefty On Wed, Nov 5, 2014 at 5:01 AM, Ritesh Gautam wrote: > Hello, > I am trying to parse hive queries so that I can get the table names > on which the query is dependent on. > >

Parsing Hive queries to get table names and column names

2014-11-05 Thread Ritesh Gautam
Hello, I am trying to parse hive queries so that I can get the table names on which the query is dependent on. I have tried the following : 1) downloaded the grammer and used ANTLR to generate the lexer and parser, but there are some errors as such when I try to build it: .. symbol: