You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2020/03/28 00:09:07 UTC
[GitHub] [calcite] xndai commented on a change in pull request #1884:
[CALCITE-2970] Performance issue when enabling abstract converter for
EnumerableConvention
xndai commented on a change in pull request #1884: [CALCITE-2970] Performance issue when enabling abstract converter for EnumerableConvention
URL: https://github.com/apache/calcite/pull/1884#discussion_r399589968
##########
File path: core/src/main/java/org/apache/calcite/plan/RelOptUtil.java
##########
@@ -1998,6 +1996,12 @@ public static void registerAbstractRelationalRules(RelOptPlanner planner) {
// todo: rule which makes Project({OrdinalRef}) disappear
}
+ private static void registerEnumerableRelNodeFactories() {
+ RelBuilderFactory factory = RelFactories.LOGICAL_BUILDER;
+ factory.registerFactoriesWithConvention(EnumerableConvention.INSTANCE,
+ EnumerableRelFactories.DEFAULT_STRUCT);
Review comment:
Yes, I would need to rename. This is a WIP, and please focus on the general direction.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services