Skip to content

Commit f50d737

Browse files
committed
add to upgrade guide
1 parent 5425c9b commit f50d737

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/source/library-user-guide/upgrading.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,16 @@ This version of DataFusion upgrades the underlying Apache Arrow implementation
100100
to version `56.0.0`. See the [release notes](https://github.com/apache/arrow-rs/releases/tag/56.0.0)
101101
for more details.
102102

103+
### Added `ExecutionPlan::reset_state`
104+
105+
In order to fix a bug in DataFusion `49.0.0` where dynamic filters (currently only generated in the precense of a query such as `ORDER BY ... LIMIT ...`)
106+
produced incorrect results in recursive queries, a new method `reset_state` has been added to the `ExecutionPlan` trait.
107+
108+
Any `ExecutionPlan` that needs to maintain internal state or references to other nodes in the execution plan tree should implement this method to reset that state.
109+
See [#17028] for more details and an example implementation for `SortExec`.
110+
111+
[#17028]: https://github.com/apache/datafusion/pull/17028
112+
103113
## DataFusion `49.0.0`
104114

105115
### `MSRV` updated to 1.85.1

0 commit comments

Comments
 (0)