calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuxuwangzi888 <>
Subject about calcite core design
Date Fri, 11 Dec 2015 06:58:05 GMT
      I have a question,why the parser and operator Tree are coupled,like this:

SqlNode(SqlParserPos pos) {

  Util.pre(pos != null, "pos != null");
  this.pos = pos;

  Because we pass the variable pos,it lead to the couple。

I develped a parser use antlr,and hope the parse and symantec tree is loose coupled。
   I guess calcite coupled design is for performance, is it ?   

   Many thanks!


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message