Hi,  ????

  for create table sql, because it's completely meet hive syntax, so  there is 
no need to create another parse way. 
  for loadData sql, carbon's sql is like LOAD DATA.... INTO .....OPTIONS(...), 
and OPTIONS is optional. Because hive's syntax has no OPTIONS, 
  so we have to create a new parse way to handle carbon load syntax. 



regards
Jay


------------------ ???????? ------------------
??????: "????";<[email protected]>;
????????: 2016??11??23??(??????) ????0:01
??????: "dev"<[email protected]>; 

????: Some questions about CarbonSqlParser



Hi All, 


I want to know the internal's of carbondata , recently i read the  
CarbonSqlParser class , I just came some questions ? 


some parser using hiveql to parse statement , some use scala parser combination 
for example : 
line 289 createTable parser, the implement using  val node = 
HiveQlWrapper.getAst(statement) to parse create table statement,
line 992 loadDataNew use scala parser combination parser statement
So what's the different of these two implementions ?  can we replace hiveql 
parser to scala parser ? 
 
Thx

Reply via email to