[
https://issues.apache.org/jira/browse/IMPALA-14126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Carlin reassigned IMPALA-14126:
-------------------------------------
Assignee: Steve Carlin
> Calcite Planner: varchar(6) being recast as string incorrectly
> --------------------------------------------------------------
>
> Key: IMPALA-14126
> URL: https://issues.apache.org/jira/browse/IMPALA-14126
> Project: IMPALA
> Issue Type: Sub-task
> Reporter: Steve Carlin
> Assignee: Steve Carlin
> Priority: Major
>
> Given the query:
> select * from test_varchar_casts where v = cast(c as varchar(6))
> on a table created with
> create table test_varchar_casts (c char(6), v varchar(6));
> Both "v" and cast(c as varchar(6)) are being recast to string. But if they
> are both varchar, they do not need casting.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]