gortiz commented on code in PR #13943:
URL: https://github.com/apache/pinot/pull/13943#discussion_r1795374252
##########
pinot-query-planner/src/main/java/org/apache/pinot/query/QueryEnvironment.java:
##########
@@ -398,8 +442,44 @@ private static HepProgram getTraitProgram() {
}
// apply RelDistribution trait to all nodes
+ if (useImplicitColocated) {
+
hepProgramBuilder.addRuleInstance(PinotImplicitTableHintRule.withPartitionTableFinder(tablePartitionTableFinder));
+ }
hepProgramBuilder.addRuleInstance(PinotRelDistributionTraitRule.INSTANCE);
return hepProgramBuilder.build();
}
+
+ public static ImmutableQueryEnvironment.Config.Builder configBuilder() {
+ return ImmutableQueryEnvironment.Config.builder();
+ }
+
+ @Value.Immutable
Review Comment:
Are you ok merging it using immutables or should I change the code to use a
manually written POJO?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]