git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (CALCITE-2363) Refactor RelShuttle not to depend on structures of RelNodes


Teruyoshi Zenmyo created CALCITE-2363:
-----------------------------------------

             Summary: Refactor RelShuttle not to depend on structures of RelNodes
                 Key: CALCITE-2363
                 URL: https://issues.apache.org/jira/browse/CALCITE-2363
             Project: Calcite
          Issue Type: Improvement
            Reporter: Teruyoshi Zenmyo
            Assignee: Julian Hyde


Currently, RelShuttle implementations depends on the structures of RelNodes.

For instance, RelShuttleImp.visit(LogicalAggregate aggregate) knows the first element of getInput() is the next element to be visited. 

[https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/rel/RelShuttleImpl.java#L75]

 

By this refactoring, implementations of RelShuttle will become free from invoking super.visit methods.

https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/sql2rel/CorrelationReferenceFinder.java#L61



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)



( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-calcite-development/msg03757.html on line 98
Call Stack
#TimeMemoryFunctionLocation
10.0007364728{main}( ).../msg03757.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-calcite-development/msg03757.html on line 98
Call Stack
#TimeMemoryFunctionLocation
10.0007364728{main}( ).../msg03757.html:0