snuyanzin commented on code in PR #28170:
URL: https://github.com/apache/flink/pull/28170#discussion_r3416786192
##########
flink-table/flink-sql-parser/src/main/codegen/templates/Parser.jj:
##########
@@ -1957,13 +1959,19 @@ SqlInsert WhenNotMatchedClause(SqlNode table) :
*/
void AddSelectItem(List<SqlNode> list) :
{
- final SqlNode e;
+ SqlNode e;
final SqlIdentifier id;
}
{
e = SelectExpression()
(
- [ <AS> ]
+ [ <AS>
+ [ <MEASURE> {
Review Comment:
it is a separate type in `SqlTypeName`, it will fail on TypeFactory level
https://github.com/apache/calcite/blob/8888eab229873dc2bf48f346e25bc0a2744eda93/core/src/main/java/org/apache/calcite/sql/type/SqlTypeName.java#L138
--
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]