JING ZHANG created CALCITE-4888:
-----------------------------------

             Summary: Unexpected `RexNode` when call `RelBuilder.in` to create 
an `IN` predicate with a list of varchar literals which have different length
                 Key: CALCITE-4888
                 URL: https://issues.apache.org/jira/browse/CALCITE-4888
             Project: Calcite
          Issue Type: Bug
          Components: core
            Reporter: JING ZHANG


when call `RelBuilder.in` to create an `IN` predicate with a list of varchar 
literals which have different length, generated `RexNode` are expected.

for example, ranges are `b.literal("CLERK")` and  `b.literal("A")`

Generated `RexNode` seems to be unexpected because it would cast 'A' to char(5).



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to