hequn8128 commented on a change in pull request #8087: [FLINK-12029][table] Add
column operations for TableApi
URL: https://github.com/apache/flink/pull/8087#discussion_r274779381
##########
File path:
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/expressions/PlannerExpressionConverter.scala
##########
@@ -94,6 +94,12 @@ class PlannerExpressionConverter private extends
ApiExpressionVisitor[PlannerExp
case AS =>
assert(args.size >= 2)
+ args.drop(1).foreach {
Review comment:
Ok, I validate it because of the test, i.e., `testInvalidRenameColumns()` in
`ColumnsOperationValidationTest`. I think you make a good point here, maybe we
need to validate the as in Column Expander Rule?
----------------------------------------------------------------
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]
With regards,
Apache Git Services