You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Ozerov (Jira)" <ji...@apache.org> on 2021/01/11 10:03:00 UTC

[jira] [Created] (CALCITE-4461) Do not cast to logical node inside Enumerable rules

Vladimir Ozerov created CALCITE-4461:
----------------------------------------

             Summary: Do not cast to logical node inside Enumerable rules
                 Key: CALCITE-4461
                 URL: https://issues.apache.org/jira/browse/CALCITE-4461
             Project: Calcite
          Issue Type: Task
          Components: core
    Affects Versions: 1.26.0
            Reporter: Vladimir Ozerov
            Assignee: Vladimir Ozerov
             Fix For: 1.27.0


Currently, some `Enumerable` rules work with the base operator classes, such as `Join`, while others cast to `Logical` counterparts, such as `LogicalJoin`, `LogicalProject`, etc. 

This makes it impossible to convert custom non-logical nodes into `Enumerable` using the built-in rules.

The proposal is to change all existing rules so that they work with the base `RelNode` classes.



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