Description
The rule always forbids conditions with correlated variables to be pushed down (as of CALCITE-769 to avoid certain problems in the decorrelation of the query). However, in the general context of query optimization, it is beneficial to push-down filters and the fact that there is a correlated variable is not a reason to skip this optimization.
In order to avoid regressions, and at the same time enable correlated conditions to be pushed down we should make the pushing of correlated variables configurable.
Attachments
Issue Links
- is caused by
-
CALCITE-769 FilterProjectTransposeRule needs to avoid filter being pushed down if there is "correlating variable" in the condition
- Closed
- links to