You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/01/31 05:44:11 UTC

[GitHub] [arrow] jorgecarleitao commented on a change in pull request #9333: ARROW-11395: [DataFusion] Support custom optimizers

jorgecarleitao commented on a change in pull request #9333:
URL: https://github.com/apache/arrow/pull/9333#discussion_r567369836



##########
File path: rust/datafusion/src/execution/context.rs
##########
@@ -529,6 +525,15 @@ impl ExecutionConfig {
         self.query_planner = query_planner;
         self
     }
+
+    /// Adds a new [`OptimizerRule`]
+    pub fn add_optimizer_rule(

Review comment:
       Had the same though too and also did not see an immediate use case. So here I just delayed the decision for that API to whenever/if someone has a need for it (`with_optimizer_rules` or something would work).
   




----------------------------------------------------------------
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