walterddr commented on a change in pull request #1011: [CALCITE-2721] Support
parsing of DOT + MEMBER_FUNCTION
URL: https://github.com/apache/calcite/pull/1011#discussion_r254810795
##########
File path: core/src/main/codegen/templates/Parser.jj
##########
@@ -3380,6 +3380,70 @@ SqlNode UnsignedNumericLiteralOrParam() :
{ return e; }
}
+/**
+ * Parse a row expression extended after an existing record type row expression
+ */
+SqlNode RowExpressionExtension() :
+{
+ final SqlNode e;
+ String p;
+}
+{
+ (
+ LOOKAHEAD( CompoundIdentifier() <LPAREN>)
Review comment:
did a bit of test and turns out we dont even need the compoundidentifier
since we need to support all simple identifier first. removing the last rule
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services