snuyanzin commented on code in PR #29882:
URL: https://github.com/apache/flink/pull/29882#discussion_r4717646198
##########
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:
it looks like we need version for DOT as well
--
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]