xiedeyantu commented on code in PR #4364:
URL: https://github.com/apache/calcite/pull/4364#discussion_r2093819696
##########
core/src/main/java/org/apache/calcite/rex/RexBuilder.java:
##########
@@ -1871,10 +1872,28 @@ && areAssignable(arg, Arrays.asList(lower, upper))) {
switch (point.getKind()) {
case LITERAL:
final RexLiteral literal = (RexLiteral) point;
+ if (literal.getValue() instanceof AbstractFlatList) {
+ AbstractFlatList list = (AbstractFlatList) literal.getValue();
Review Comment:
I found using `literal.getValueAs` will return @Nullable. Additional
processing may be required. So I changed it back again. Is that OK?
--
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]