Description
Reldecorrelator’s logic including all rules implemented within it are written to take LogicalJoin, LogicalFilter, LogicalProject etc Logical rel nodes. Since Logical operators are final that makes extending RelDecorrelator very difficult.
It makes more sense to have RelDecorrelator operate on Join, Filter etc
As Julian pointed out with this change RelDecorrelator will need to use RelNode factories (ideally a RelBuilder) so that it can create RelNodes of the appropriate sub-type
Attachments
Issue Links
- is related to
-
CALCITE-685 Correlated scalar sub-query in SELECT clause throws
- Open