Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.21.0
Description
RelMdColumnUniqueness does not have an override for Calc, thus it can't resolve uniqueness for EnumerableCalc
In practice, it is hard to deduce uniqueness for select emp.id*emp.deptno from emp, however, simple projects can be resolved (e.g. when Calc selects one of its input as is).
Attachments
Issue Links
- causes
-
CALCITE-6640 RelMdUniqueKeys grows exponentially when key columns are repeated in projections
- In Progress
- is related to
-
HIVE-28582 OOM when compiling query with many GROUP BY columns aliased multiple times
- Open
- links to