This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/asf-site by this push: new d1b0fd6da1 Publish built docs triggered by f9efba0e2c4c9c272062b5d48f6a44830b8f08ab d1b0fd6da1 is described below commit d1b0fd6da14054d1f0616b6e662da3b28dedba17 Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Aug 7 21:27:06 2025 +0000 Publish built docs triggered by f9efba0e2c4c9c272062b5d48f6a44830b8f08ab --- _sources/library-user-guide/upgrading.md.txt | 10 ++++++++++ library-user-guide/upgrading.html | 17 +++++++++++++++++ searchindex.js | 2 +- 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/_sources/library-user-guide/upgrading.md.txt b/_sources/library-user-guide/upgrading.md.txt index c2e7d25f86..e416d22efc 100644 --- a/_sources/library-user-guide/upgrading.md.txt +++ b/_sources/library-user-guide/upgrading.md.txt @@ -130,6 +130,16 @@ This version of DataFusion upgrades the underlying Apache Arrow implementation to version `56.0.0`. See the [release notes](https://github.com/apache/arrow-rs/releases/tag/56.0.0) for more details. +### Added `ExecutionPlan::reset_state` + +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 ...`) +produced incorrect results in recursive queries, a new method `reset_state` has been added to the `ExecutionPlan` trait. + +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. +See [#17028] for more details and an example implementation for `SortExec`. + +[#17028]: https://github.com/apache/datafusion/pull/17028 + ## DataFusion `49.0.0` ### `MSRV` updated to 1.85.1 diff --git a/library-user-guide/upgrading.html b/library-user-guide/upgrading.html index 40e888deed..1f0986a638 100644 --- a/library-user-guide/upgrading.html +++ b/library-user-guide/upgrading.html @@ -628,6 +628,16 @@ </code> </a> </li> + <li class="toc-h3 nav-item toc-entry"> + <a class="reference internal nav-link" href="#added-executionplan-reset-state"> + Added + <code class="docutils literal notranslate"> + <span class="pre"> + ExecutionPlan::reset_state + </span> + </code> + </a> + </li> </ul> </li> <li class="toc-h2 nav-item toc-entry"> @@ -1243,6 +1253,13 @@ parameter.</p> to version <code class="docutils literal notranslate"><span class="pre">56.0.0</span></code>. See the <a class="reference external" href="https://github.com/apache/arrow-rs/releases/tag/56.0.0">release notes</a> for more details.</p> </section> +<section id="added-executionplan-reset-state"> +<h3>Added <code class="docutils literal notranslate"><span class="pre">ExecutionPlan::reset_state</span></code><a class="headerlink" href="#added-executionplan-reset-state" title="Link to this heading">¶</a></h3> +<p>In order to fix a bug in DataFusion <code class="docutils literal notranslate"><span class="pre">49.0.0</span></code> where dynamic filters (currently only generated in the precense of a query such as <code class="docutils literal notranslate"><span class="pre">ORDER</span> <span class="pre">BY</span> <span class="pre">...</span> <span class="pre">LIMIT</span> <span class="pre">...</span></code>) +produced incorrect results in recursive queries, a new method <code class="docutils literal notranslate"><span class="pre">reset_state</span></code> has been added to the <code class="docutils literal notranslate"><span class="pre">ExecutionPlan</span></code> trait.</p> +<p>Any <code class="docutils literal notranslate"><span class="pre">ExecutionPlan</span></code> that needs to maintain internal state or references to other nodes in the execution plan tree should implement this method to reset that state. +See <a class="reference external" href="https://github.com/apache/datafusion/pull/17028">#17028</a> for more details and an example implementation for <code class="docutils literal notranslate"><span class="pre">SortExec</span></code>.</p> +</section> </section> <section id="datafusion-49-0-0"> <h2>DataFusion <code class="docutils literal notranslate"><span class="pre">49.0.0</span></code><a class="headerlink" href="#datafusion-49-0-0" title="Link to this heading">¶</a></h2> diff --git a/searchindex.js b/searchindex.js index 739e68ee1c..1f0a686f5c 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles":{"!=":[[56,"op-neq"]],"!~":[[56,"op-re-not-match"]],"!~*":[[56,"op-re-not-match-i"]],"!~~":[[56,"id19"]],"!~~*":[[56,"id20"]],"#":[[56,"op-bit-xor"]],"%":[[56,"op-modulo"]],"&":[[56,"op-bit-and"]],"(relation, name) tuples in logical fields and logical columns are unique":[[12,"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]],"*":[[56,"op-multiply"]],"+":[[56,"op-plus"]],"-":[[56,"op-minus"]],"/":[[56,"op-divide"]],"<":[[56,"op-lt"]],"< [...] \ No newline at end of file +Search.setIndex({"alltitles":{"!=":[[56,"op-neq"]],"!~":[[56,"op-re-not-match"]],"!~*":[[56,"op-re-not-match-i"]],"!~~":[[56,"id19"]],"!~~*":[[56,"id20"]],"#":[[56,"op-bit-xor"]],"%":[[56,"op-modulo"]],"&":[[56,"op-bit-and"]],"(relation, name) tuples in logical fields and logical columns are unique":[[12,"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]],"*":[[56,"op-multiply"]],"+":[[56,"op-plus"]],"-":[[56,"op-minus"]],"/":[[56,"op-divide"]],"<":[[56,"op-lt"]],"< [...] \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@datafusion.apache.org For additional commands, e-mail: commits-h...@datafusion.apache.org