xiedeyantu commented on code in PR #4642:
URL: https://github.com/apache/calcite/pull/4642#discussion_r2544039228


##########
core/src/main/java/org/apache/calcite/rex/RexBuilder.java:
##########
@@ -1888,10 +1888,28 @@ && areAssignable(arg, Arrays.asList(lower, upper))) {
     switch (point.getKind()) {
     case LITERAL:
       final RexLiteral literal = (RexLiteral) point;
+      if (literal.getType().getSqlTypeName() == SqlTypeName.MULTISET) {

Review Comment:
   You're absolutely right. I indeed failed to find a way to construct an SQL 
statement that converts MULTISET to SEARCH. I've been overlooking this point 
all along. Given that, I think this PR seems rather pointless, and I intend to 
close it. What do you think?



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