We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
supports_rewrite
1 parent 5976c50 commit 3f2428bCopy full SHA for 3f2428b
datafusion/optimizer/src/optimizer.rs
@@ -81,15 +81,13 @@ pub trait OptimizerRule: Debug {
81
}
82
83
/// Does this rule support rewriting owned plans (rather than by reference)?
84
+ #[deprecated(since = "47.0.0", note = "This method is no longer used")]
85
fn supports_rewrite(&self) -> bool {
86
true
87
88
89
/// Try to rewrite `plan` to an optimized form, returning `Transformed::yes`
90
/// if the plan was rewritten and `Transformed::no` if it was not.
- ///
91
- /// Note: this function is only called if [`Self::supports_rewrite`] returns
92
- /// true.
93
fn rewrite(
94
&self,
95
_plan: LogicalPlan,
0 commit comments