Re: Need help on Hive.g and parser!

2009-02-18 Thread Shyam Sarkar
). Advanced SQL syntax embeds XML and Java scripts. Thanks, Shyam --- On Tue, 2/17/09, Zheng Shao zsh...@gmail.com wrote: From: Zheng Shao zsh...@gmail.com Subject: Re: Need help on Hive.g and parser! To: hive-dev@hadoop.apache.org, shyam_sar...@yahoo.com Date: Tuesday, February 17, 2009, 10

Need help on Hive.g and parser!

2009-02-17 Thread Shyam Sarkar
Hello, Someone please explain the following build.xml spec for grammar build (required and not required) :: === uptodate property=grammarBuild.notRequired srcfiles dir= ${src.dir}/org/apache/hadoop/hive/ql/parse

Re: Need help on Hive.g and parser!

2009-02-17 Thread Zheng Shao
We are using antlr. Basically, the rule checks the timestamp of HiveParser.java. If it's newer than Hive.g, then we don't need to regenerate HiveParse.java from Hive.g again. Zheng On Tue, Feb 17, 2009 at 12:15 PM, Shyam Sarkar shyam_sar...@yahoo.comwrote: Hello, Someone please explain the