snuyanzin commented on code in PR #4869:
URL: https://github.com/apache/calcite/pull/4869#discussion_r3069531325
##########
core/src/main/java/org/apache/calcite/sql/type/ArrayElementOperandTypeChecker.java:
##########
@@ -95,6 +95,10 @@ public ArrayElementOperandTypeChecker(boolean
arrayMayBeNull, boolean elementMay
return false;
}
+ if (callBinding.isTypeCoercionEnabled()) {
+ callBinding.getValidator().getTypeCoercion()
+ .collectionFunctionCoercion(callBinding);
+ }
Review Comment:
might be a breaking change for downstream projects who do not use
`typeCoercion`
imho need at least put info about this in release notes
--
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]