You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Danny Chen (Jira)" <ji...@apache.org> on 2020/09/03 09:46:00 UTC

[jira] [Created] (CALCITE-4225) Make RelDecorrelator pluggable

Danny Chen created CALCITE-4225:
-----------------------------------

             Summary: Make RelDecorrelator pluggable
                 Key: CALCITE-4225
                 URL: https://issues.apache.org/jira/browse/CALCITE-4225
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.25.0
            Reporter: Danny Chen
            Assignee: Danny Chen
             Fix For: 1.26.0


{{ RelDecorrelator }} is out core component that decorrelates the queries. But actually, the pattern it can decorrelates 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).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)