twalthr commented on code in PR #29882:
URL: https://github.com/apache/flink/pull/29882#discussion_r4679674049


##########
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/codegen/ExprCodeGenerator.scala:
##########
@@ -1177,10 +1203,15 @@ class ExprCodeGenerator(
       case ELEMENT =>
         val array = operands.head
         requireArray(array)
-        generateArrayElement(ctx, array)
+        generateArrayElement(ctx, array, resultType)
+
+      case ELEMENT_V1 =>
+        val array = operands.head
+        requireArray(array)
+        generateArrayElement(ctx, array, elementTypeV1(operands, resultType))
 
       case DOT =>
-        generateDot(ctx, operands)
+        generateDot(ctx, operands, resultType)

Review Comment:
   isn't the versioning missing here?



-- 
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]

Reply via email to