Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-4461

Do not cast to logical node inside Enumerable rules

    XMLWordPrintableJSON

Details

    Description

      Currently, some Enumerable rules work with the base operator classes, such as Join, while others have an explicit 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 because such an invocation will fail with a ClassCastException.

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

      Attachments

        Issue Links

          Activity

            People

              vozerov Vladimir Ozerov
              vozerov Vladimir Ozerov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 10m
                  2h 10m