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/30 23:00:14 UTC

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

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



##########
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:
       I don't have a use case in mind, but what if we needed to insert an optimizer rule before the standard ones run, or override one of the standard rules?




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