JingsongLi commented on a change in pull request #10700: [FLINK-15383][table
sql / planner & legacy planner] Using sink schema field name instead of query
schema field name for UpsertStreamTableSink.
URL: https://github.com/apache/flink/pull/10700#discussion_r361890572
##########
File path:
flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/runtime/stream/table/TableSinkITCase.scala
##########
@@ -312,9 +312,9 @@ class TableSinkITCase extends AbstractTestBase {
t.select('id, 'num, 'text.charLength() as 'len, ('id > 0) as 'cTrue)
.groupBy('len, 'cTrue)
- .select('len, 'id.count as 'cnt, 'cTrue)
- .groupBy('cnt, 'cTrue)
- .select('cnt, 'len.count as 'lencnt, 'cTrue)
+ .select('len, 'id.count as 'count, 'cTrue)
+ .groupBy('count, 'cTrue)
Review comment:
Add comment to show what are you test.
----------------------------------------------------------------
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