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


##########
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:
   I can see that you can create this manually using rexBuilder, but can this 
happen if you start from the parser?
   Can you write a test for that case?



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