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 2025/06/05 16:22:00 UTC
[jira] [Created] (IMPALA-14126) Calcite Planner: varchar(6) being recast as string incorrectly
Steve Carlin created IMPALA-14126:
-------------------------------------
Summary: 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
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)