You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to upgrade the parser in Coral Hive to Hive3. I have observed that the ParseTreeBuilder converts the AST nodes generated by Hive's ANTLR3 parsing into Calcite's SqlNode. On what rules is the visit method in ParseTreeBuilder based? How do we ensure that no SQL parsing or transformation is missed? Since ParseTreeBuilder has not implemented visit methods for all types of tokens in the Hive grammar file, how does the code determine which visit methods need to be implemented?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Dear community developers,
I would like to upgrade the parser in Coral Hive to Hive3. I have observed that the
ParseTreeBuilder
converts the AST nodes generated by Hive's ANTLR3 parsing into Calcite'sSqlNode
. On what rules is thevisit
method inParseTreeBuilder
based? How do we ensure that no SQL parsing or transformation is missed? SinceParseTreeBuilder
has not implemented visit methods for all types of tokens in the Hive grammar file, how does the code determine which visit methods need to be implemented?Thank you in advance for your guidance!
Beta Was this translation helpful? Give feedback.
All reactions