Apache DataFusion SQL Query Engine
Add PhysicalExpr::is_volatile_node to upgrade guide (#17443)
Adrian Garcia Badaraccob4a8b5ae54d9
diff --git a/docs/source/library-user-guide/upgrading.md b/docs/source/library-user-guide/upgrading.mdindex 79be97b0d8..de96dc368d 100644--- a/docs/source/library-user-guide/upgrading.md+++ b/docs/source/library-user-guide/upgrading.md@@ -285,6 +285,24 @@ If you have custom implementations of `FileOpener` or work directly with `FileOp[#17397]: https://github.com/apache/datafusion/pull/17397+### Added `PhysicalExpr::is_volatile_node`++We added a method to `PhysicalExpr` to mark a `PhysicalExpr` as volatile:++```rust,ignore+impl PhysicalExpr for MyRandomExpr {+ fn is_volatile_node(&self) -> bool {+ true+ }+}+```++We've shipped this with a default value of `false` to minimize breakage but we highly recommend that implementers of `PhysicalExpr` opt into a behavior, even if it is returning `false`.++You can see more discussion and example implementations in [#17351].++[#17351]: https://github.com/apache/datafusion/pull/17351+## DataFusion `49.0.0`### `MSRV` updated to 1.85.1