jamesstarr opened a new pull request #2538:
URL: https://github.com/apache/calcite/pull/2538
Moving janino metadata dispatch from scan of an array containing all
known rel subtypes to a chain of if instanceof RelNode subclass. Thus,
removing requirement of registering relnode subtypes to prevent
metadata handler regeneration.
* Adding DelegatingMetadataRel to remove the cyclic dependency between
metadata and planners. These intermediate nodes will not be cached.
Adding the this interface to HepRelVertex.
* Removing unused rel metadata methods for HepRelVertex.
* Removing from JaninoRelMetadataProvider: registerMetadataRels,
register, ALL_RELS. These kept a list of all know subclass of
RelNode which no longer need.
* Adding JaninoRelMetadataProvider.generateCachedMethod for clarity
* Moving rel metadata dispatch generation logic from
JaninoRelMetadataProvider to DispatchGenerator.
* Adding CodeGeneratorUtil for shared methods across DispatchGenerator
and JaninoRelMetadataProvider.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]