xuzifu666 commented on code in PR #5193:
URL: https://github.com/apache/calcite/pull/5193#discussion_r3821466744


##########
core/src/main/codegen/templates/Parser.jj:
##########
@@ -2516,9 +2516,7 @@ SqlNode TableRef3(ExprContext exprContext, boolean 
lateral) :
             // Standard SQL (and Postgres) allow applying "AS alias" to a JOIN,
             // e.g. "FROM (a CROSS JOIN b) AS c". The new alias obscures the
             // internal aliases, and columns cannot be referenced if they are
-            // not unique. TODO: Support this behavior; see
-            // [CALCITE-5168] Allow AS after parenthesized JOIN
-            checkNotJoin(tableRef);
+            // not unique. See [CALCITE-5168] Allow AS after parenthesized 
JOIN.

Review Comment:
   You are right, it is not need to introduce, I remove it.



-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to