Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.12.0
Description
Create two views using following statements.
create view v1 as select cast(greeting as int) f from dfs.`/home/mapr/data/json/temp.json`; create view v2 as select cast(greeting as int) f from dfs.`/home/mapr/data/json/temp.json`;
Executing the following join query produces a stack overflow during the planning phase.
select t1.f from dfs.tmp.v1 as t inner join dfs.tmp.v2 as t1 on cast(t.f as int) = cast(t1.f as int) and cast(t.f as int) = 10 and cast(t1.f as int) = 10;
Attachments
Issue Links
- is related to
-
CALCITE-2223 ProjectMergeRule is infinitely matched when is applied after ProjectReduceExpressionsRule
- Closed
- links to