Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.25.0
Description
RelDecorrelator is our core component that decorrelates the queries. But actually, the pattern it can decorrelate successfully is very limited. And it often causes bug because it decorrelates into a wrong plan (with non-correct sementics).
When there are bugs there, the downstream project can only wait for the version upgrade (if it is fixed in Calcite master), or they copy the whole Java class and override the Calcite one which is hard to maintain.
It would be nice if we can make the decorrelation logic pluggable. e.g. we can control how a RelNode was decorrelated(not a coarse-grained flag to turn-on/off the decorrelation).
Attachments
Issue Links
- links to