Steve Carlin created IMPALA-14422:
-------------------------------------
Summary: Calcite planner: Crash on Union with underlying Project
and Values nodes
Key: IMPALA-14422
URL: https://issues.apache.org/jira/browse/IMPALA-14422
Project: IMPALA
Issue Type: Sub-task
Reporter: Steve Carlin
In version 1.37, for the query
select 1 union all select 5000
Calcite was creating the following RelNode structure:
LogicalUnion
LogicalValues (1), (5000)
Calcite changed the behavior in 1.40 to ensure that all datatypes are matching.
Now it produces:
LogicalUnion
LogicalProject(CAST 1 as SMALLINT)
LogicalValues
LogicalProject(CAST 5000 as SMALLINT)
LogicalValues
The introduction of the Project between Values exposed a bug in the
ImpalaValuesRel class.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]