wgy8283335 commented on issue #8284:
URL: https://github.com/apache/shardingsphere/issues/8284#issuecomment-818340321


   > @wgy8283335 I think you can start to learn something about the AST of 
calcite works, since you are familiar with Antlr, and then you can try to fix 
the unsupported feature of the 
[SqlNodeConverter](https://github.com/guimingyue/shardingsphere/blob/sharding-optimizer/shardingsphere-infra/shardingsphere-infra-optimizer/src/main/java/org/apache/shardingsphere/infra/optimizer/converter/SqlNodeConverter.java).
 The 
[CalciteMySqlNodeVisitor](https://github.com/alibaba/druid/blob/master/src/main/java/com/alibaba/druid/support/calcite/CalciteMySqlNodeVisitor.java)
 of Druid could be a good reference for converting ShardingSphere AST to 
Calcite AST.
   
   @guimingyue thank you, that's a good idea.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to