Hi,

It is because CarbonData currently is integrated with Spark 1.5/1.6 and 
CarbonContext is based on HiveContext, so it is based on the Hive parser in 
HiveContext. But you are right, there is no design limitation about this, 
Carbon can switch to use ANTLR. I see in Spark 2.0, spark is using ANTLR as 
well. So maybe it is a good time to switch the parser when doing integration 
with Spark 2.0. 
What is your idea?

Regards,
Jacky


> 在 2016年11月4日,下午3:47,Anurag Srivastava <[email protected]> 写道:
> 
> Hi,
> 
> We are using CarbonSqlParser for parsing the queries but we can use ANTLR
> for the same.
> 
> Is there any specific reason for using CarbonSqlParser because as per my
> concern we could better handle with ANTLR.
> 
> 
> -- 
> *Thanks&regards*
> 
> 
> *Anurag Srivastava**Software Consultant*
> *Knoldus Software LLP*
> 
> *India - US - Canada*
> * Twitter <http://www.twitter.com/anuragknoldus> | FB
> <http://www.facebook.com/anuragsrivastava.06> | LinkedIn
> <https://in.linkedin.com/pub/anurag-srivastava/5a/b6/441>*

Reply via email to