snuyanzin commented on code in PR #20850:
URL: https://github.com/apache/flink/pull/20850#discussion_r973030091
##########
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/codegen/ValuesCodeGenerator.scala:
##########
@@ -43,9 +44,17 @@ object ValuesCodeGenerator {
val generatedRecords = tuples.map {
r =>
exprGenerator.generateResultExpression(
- r.map(exprGenerator.generateExpression),
+ r.zipWithIndex.map {
Review Comment:
Probably as a result of https://issues.apache.org/jira/browse/CALCITE-4383
it requires same type now... To achieve there is a cast to least restrictive
--
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]