You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Steve Carlin (Jira)" <ji...@apache.org> on 2026/04/19 23:12:00 UTC

[jira] [Created] (IMPALA-14903) Calcite planner: Simplify String RelDataType

Steve Carlin created IMPALA-14903:
-------------------------------------

             Summary: Calcite planner: Simplify String RelDataType
                 Key: IMPALA-14903
                 URL: https://issues.apache.org/jira/browse/IMPALA-14903
             Project: IMPALA
          Issue Type: Sub-task
            Reporter: Steve Carlin


By default, Calcite always sets string literals to type "char" whereas Impala needs string literals to be type "string".

The current code committed works around this by creating a cast around the column. This complicated the code.  For example, A Values RelNode cannot have a cast, so a Project RelNode had to be created on top of a Values RelNode to handle the cast.

This code should be simplified



--
This message was sent by Atlassian Jira
(v8.20.10#820010)