You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "JING ZHANG (Jira)" <ji...@apache.org> on 2021/11/15 02:15:00 UTC
[jira] [Created] (CALCITE-4888) Unexpected `RexNode` when call `RelBuilder.in` to create an `IN` predicate with a list of varchar literals which have different length
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)