RE: Hive script auto completion and semantic analyzer?

2015-01-08 Thread Xiaoyong Zhu
Could someone share some insights on this...?

Xiaoyong

From: Xiaoyong Zhu [mailto:xiaoy...@microsoft.com]
Sent: Thursday, January 8, 2015 3:01 PM
To: user@hive.apache.org
Cc: Yifung Lin; Zhaomin Xu
Subject: Hive script auto completion and semantic analyzer?

Hi, hive experts

We are building a script auto-completion framework for Hive to make Hive easier 
to use. We are also trying to new We have read the hive compiler design 
documenthttps://cwiki.apache.org/confluence/display/Hive/Design#Design-Compiler
 and have several questions:

1.   We have already used Antlr to generate a Hive parser, but we don't 
know how to re-use semantic analyzer of Hive - are there someone who is 
specialized in this area or share us some related documents? Is there a 
possibility to re-use it independently with Hive?

2.   Do you know if anyone have done these kind of 
work(auto-completion/script validation) before? If so, could someone give us 
some pointers to those works?

Xiaoyong


Hive script auto completion and semantic analyzer?

2015-01-07 Thread Xiaoyong Zhu
Hi, hive experts

We are building a script auto-completion framework for Hive to make Hive easier 
to use. We are also trying to new We have read the hive compiler design 
documenthttps://cwiki.apache.org/confluence/display/Hive/Design#Design-Compiler
 and have several questions:

1.   We have already used Antlr to generate a Hive parser, but we don't 
know how to re-use semantic analyzer of Hive - are there someone who is 
specialized in this area or share us some related documents? Is there a 
possibility to re-use it independently with Hive?

2.   Do you know if anyone have done these kind of 
work(auto-completion/script validation) before? If so, could someone give us 
some pointers to those works?

Xiaoyong