atoomula commented on a change in pull request #1386:
URL: https://github.com/apache/samza/pull/1386#discussion_r442546064
##########
File path:
samza-sql/src/main/java/org/apache/samza/sql/planner/QueryPlanner.java
##########
@@ -141,20 +142,28 @@ public RelRoot plan(String query) {
.sqlToRelConverterConfig(SqlToRelConverter.Config.DEFAULT)
.traitDefs(traitDefs)
.context(Contexts.EMPTY_CONTEXT)
- .costFactory(null)
+ .programs(
+ Programs.hep(ImmutableList.of(FilterJoinRule.FILTER_ON_JOIN),
true, DefaultRelMetadataProvider.INSTANCE))
Review comment:
Could we remove FILTER_ON_JOIN optimization ? It doesn't work well with
remote joins. We should instead use the optimization for remote joins in the
other PR that I sent.
----------------------------------------------------------------
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:
[email protected]