You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by gi...@apache.org on 2026/04/06 17:47:52 UTC
(datafusion) branch asf-site updated: Publish built docs triggered by 206ac6b950e709373a39e74ebb33ed0c95edce9e
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 c88a56ad8a Publish built docs triggered by 206ac6b950e709373a39e74ebb33ed0c95edce9e
c88a56ad8a is described below
commit c88a56ad8afb08ab620355fa58446626d9eea572
Author: github-actions[bot] <gi...@users.noreply.github.com>
AuthorDate: Mon Apr 6 17:47:48 2026 +0000
Publish built docs triggered by 206ac6b950e709373a39e74ebb33ed0c95edce9e
---
.../library-user-guide/upgrading/54.0.0.md.txt | 35 ++++++++++++++++++++++
library-user-guide/upgrading/54.0.0.html | 29 ++++++++++++++++++
searchindex.js | 2 +-
3 files changed, 65 insertions(+), 1 deletion(-)
diff --git a/_sources/library-user-guide/upgrading/54.0.0.md.txt b/_sources/library-user-guide/upgrading/54.0.0.md.txt
index 6dc08cc344..4e6178345b 100644
--- a/_sources/library-user-guide/upgrading/54.0.0.md.txt
+++ b/_sources/library-user-guide/upgrading/54.0.0.md.txt
@@ -289,6 +289,41 @@ auto-derefs through the `Arc`).
> always return `None`. Use the `downcast_ref` method above instead, or
> dereference through the `Arc` first with `plan.as_ref() as &dyn Any`.
+### `PruningStatistics::row_counts` no longer takes a `column` parameter
+
+The `row_counts` method on the `PruningStatistics` trait no longer takes a
+`&Column` argument, since row counts are a container-level property (the same
+for every column).
+
+**Before:**
+
+```rust,ignore
+fn row_counts(&self, column: &Column) -> Option<ArrayRef> {
+ // ...
+}
+```
+
+**After:**
+
+```rust,ignore
+fn row_counts(&self) -> Option<ArrayRef> {
+ // ...
+}
+```
+
+**Who is affected:**
+
+- Users who implement the `PruningStatistics` trait
+
+**Migration guide:**
+
+Remove the `column: &Column` parameter from your `row_counts` implementation
+and any corresponding call sites. If your implementation was using the column
+argument, note that row counts are identical for all columns in a container, so
+the parameter was unnecessary.
+
+See [PR #21369](https://github.com/apache/datafusion/pull/21369) for details.
+
### Avro API and timestamp decoding changes
DataFusion has switched to use `arrow-avro` (see [#17861]) when reading avro files
diff --git a/library-user-guide/upgrading/54.0.0.html b/library-user-guide/upgrading/54.0.0.html
index 82a034788b..b99a9c803a 100644
--- a/library-user-guide/upgrading/54.0.0.html
+++ b/library-user-guide/upgrading/54.0.0.html
@@ -690,6 +690,34 @@ always return <code class="docutils literal notranslate"><span class="pre">None<
dereference through the <code class="docutils literal notranslate"><span class="pre">Arc</span></code> first with <code class="docutils literal notranslate"><span class="pre">plan.as_ref()</span> <span class="pre">as</span> <span class="pre">&dyn</span> <span class="pre">Any</span></code>.</p>
</div></blockquote>
</section>
+<section id="pruningstatistics-row-counts-no-longer-takes-a-column-parameter">
+<h3><code class="docutils literal notranslate"><span class="pre">PruningStatistics::row_counts</span></code> no longer takes a <code class="docutils literal notranslate"><span class="pre">column</span></code> parameter<a class="headerlink" href="#pruningstatistics-row-counts-no-longer-takes-a-column-parameter" title="Link to this heading">#</a></h3>
+<p>The <code class="docutils literal notranslate"><span class="pre">row_counts</span></code> method on the <code class="docutils literal notranslate"><span class="pre">PruningStatistics</span></code> trait no longer takes a
+<code class="docutils literal notranslate"><span class="pre">&Column</span></code> argument, since row counts are a container-level property (the same
+for every column).</p>
+<p><strong>Before:</strong></p>
+<div class="highlight-rust notranslate"><div class="highlight"><pre><span></span><span class="k">fn</span><span class="w"> </span><span class="nf">row_counts</span><span class="p">(</span><span class="o">&</span><span class="bp">self</span><span class="p">,</span><span class="w"> </span><span class="n">column</span><span class="p">:</span><span class="w"> </span><span class="kp">&</span><span class="nc">Column</span><span class="p">)</span><span class="w"> </span><span class="p"> [...]
+<span class="w"> </span><span class="c1">// ...</span>
+<span class="p">}</span>
+</pre></div>
+</div>
+<p><strong>After:</strong></p>
+<div class="highlight-rust notranslate"><div class="highlight"><pre><span></span><span class="k">fn</span><span class="w"> </span><span class="nf">row_counts</span><span class="p">(</span><span class="o">&</span><span class="bp">self</span><span class="p">)</span><span class="w"> </span><span class="p">-></span><span class="w"> </span><span class="nb">Option</span><span class="o"><</span><span class="n">ArrayRef</span><span class="o">></span><span class="w"> </span><span cla [...]
+<span class="w"> </span><span class="c1">// ...</span>
+<span class="p">}</span>
+</pre></div>
+</div>
+<p><strong>Who is affected:</strong></p>
+<ul class="simple">
+<li><p>Users who implement the <code class="docutils literal notranslate"><span class="pre">PruningStatistics</span></code> trait</p></li>
+</ul>
+<p><strong>Migration guide:</strong></p>
+<p>Remove the <code class="docutils literal notranslate"><span class="pre">column:</span> <span class="pre">&Column</span></code> parameter from your <code class="docutils literal notranslate"><span class="pre">row_counts</span></code> implementation
+and any corresponding call sites. If your implementation was using the column
+argument, note that row counts are identical for all columns in a container, so
+the parameter was unnecessary.</p>
+<p>See <a class="reference external" href="https://github.com/apache/datafusion/pull/21369">PR #21369</a> for details.</p>
+</section>
<section id="avro-api-and-timestamp-decoding-changes">
<h3>Avro API and timestamp decoding changes<a class="headerlink" href="#avro-api-and-timestamp-decoding-changes" title="Link to this heading">#</a></h3>
<p>DataFusion has switched to use <code class="docutils literal notranslate"><span class="pre">arrow-avro</span></code> (see <a class="reference external" href="https://github.com/apache/datafusion/pull/17861">#17861</a>) when reading avro files
@@ -784,6 +812,7 @@ timezone-naive.</p></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#executionplan-apply-expressions-is-now-a-required-method"><code class="docutils literal notranslate"><span class="pre">ExecutionPlan::apply_expressions</span></code> is now a required method</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#executionplan-partition-statistics-now-returns-arc-statistics"><code class="docutils literal notranslate"><span class="pre">ExecutionPlan::partition_statistics</span></code> now returns <code class="docutils literal notranslate"><span class="pre">Arc<Statistics></span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#remove-as-any-from-scalarudfimpl-aggregateudfimpl-windowudfimpl-and-executionplan">Remove <code class="docutils literal notranslate"><span class="pre">as_any</span></code> from <code class="docutils literal notranslate"><span class="pre">ScalarUDFImpl</span></code>, <code class="docutils literal notranslate"><span class="pre">AggregateUDFImpl</span></code>, <code class="docutils literal notranslate"><span [...]
+<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#pruningstatistics-row-counts-no-longer-takes-a-column-parameter"><code class="docutils literal notranslate"><span class="pre">PruningStatistics::row_counts</span></code> no longer takes a <code class="docutils literal notranslate"><span class="pre">column</span></code> parameter</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#avro-api-and-timestamp-decoding-changes">Avro API and timestamp decoding changes</a></li>
</ul>
</li>
diff --git a/searchindex.js b/searchindex.js
index 4b50343c01..e0ac8dc057 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles":{"!=":[[72,"op-neq"]],"!~":[[72,"op-re-not-match"]],"!~*":[[72,"op-re-not-match-i"]],"!~~":[[72,"id19"]],"!~~*":[[72,"id20"]],"#":[[72,"op-bit-xor"]],"%":[[72,"op-modulo"]],"&":[[72,"op-bit-and"]],"(relation, name) tuples in logical fields and logical columns are unique":[[14,"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]],"*":[[72,"op-multiply"]],"+":[[72,"op-plus"]],"-":[[72,"op-minus"]],"/":[[72,"op-divide"]],"1. Array Literal Con [...]
\ No newline at end of file
+Search.setIndex({"alltitles":{"!=":[[72,"op-neq"]],"!~":[[72,"op-re-not-match"]],"!~*":[[72,"op-re-not-match-i"]],"!~~":[[72,"id19"]],"!~~*":[[72,"id20"]],"#":[[72,"op-bit-xor"]],"%":[[72,"op-modulo"]],"&":[[72,"op-bit-and"]],"(relation, name) tuples in logical fields and logical columns are unique":[[14,"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]],"*":[[72,"op-multiply"]],"+":[[72,"op-plus"]],"-":[[72,"op-minus"]],"/":[[72,"op-divide"]],"1. Array Literal Con [...]
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org