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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]