snuyanzin commented on code in PR #19637:
URL: https://github.com/apache/flink/pull/19637#discussion_r1145523634
##########
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/codegen/calls/ScalarOperatorGens.scala:
##########
@@ -1433,7 +1435,10 @@ object ScalarOperatorGens {
.map(_._2.last)
.values
.toSeq
- val valueType = mapType.getValueType
+ val valueType = resultType match {
+ case mapType1: MapType => mapType1.getValueType
+ case _ => DataTypes.INT().getLogicalType
Review Comment:
yep, you're right
--
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]