Skip to content

Commit 3f00222

Browse files
deprecate
1 parent 545f83b commit 3f00222

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

datafusion/physical-expr/src/expressions/dynamic_filters.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,11 @@ impl PhysicalExpr for DynamicFilterPhysicalExpr {
525525
self.render(f, |expr, f| expr.fmt_sql(f))
526526
}
527527

528-
#[allow(deprecated)]
528+
#[allow(useless_deprecated, unused_attributes)]
529+
#[deprecated(
530+
since = "54.0.0",
531+
note = "downcast to `DynamicFilterPhysicalExpr` and call `current()` instead"
532+
)]
529533
fn snapshot(&self) -> Result<Option<Arc<dyn PhysicalExpr>>> {
530534
// Return the current expression as a snapshot.
531535
Ok(Some(self.current()?))

0 commit comments

Comments
 (0)