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/07/24 19:03:20 UTC

(datafusion) branch asf-site updated: Publish built docs triggered by 7269d13e63aa6b67d5db08655134d9c6f9c71ce8

This is an automated email from the ASF dual-hosted git repository.

github-actions[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 548489214b Publish built docs triggered by 7269d13e63aa6b67d5db08655134d9c6f9c71ce8
548489214b is described below

commit 548489214b41e5a896a53d5103071a1b568c3979
Author: github-actions[bot] <gi...@users.noreply.github.com>
AuthorDate: Fri Jul 24 19:03:14 2026 +0000

    Publish built docs triggered by 7269d13e63aa6b67d5db08655134d9c6f9c71ce8
---
 .../library-user-guide/upgrading/55.0.0.md.txt     | 29 ++++++++++++++++++++++
 library-user-guide/upgrading/55.0.0.html           | 28 +++++++++++++++++++++
 searchindex.js                                     |  2 +-
 3 files changed, 58 insertions(+), 1 deletion(-)

diff --git a/_sources/library-user-guide/upgrading/55.0.0.md.txt b/_sources/library-user-guide/upgrading/55.0.0.md.txt
index 5f1609af30..6ca4d71a78 100644
--- a/_sources/library-user-guide/upgrading/55.0.0.md.txt
+++ b/_sources/library-user-guide/upgrading/55.0.0.md.txt
@@ -847,6 +847,35 @@ fn catalog_list(&self) -> Arc<dyn CatalogProviderList> {
 
 See [PR #23703](https://github.com/apache/datafusion/pull/23703) for details.
 
+### Unused `async` removed from several public functions
+
+Public functions that were declared `async` but never awaited anything are now
+synchronous:
+
+- `CsvFormat::read_to_delimited_chunks_from_stream` (in
+  `datafusion_datasource_csv`, re-exported as
+  `datafusion::datasource::file_format::csv::CsvFormat`)
+- `datafusion_substrait::serializer::deserialize_bytes`, which now also borrows
+  its input as `&[u8]` instead of taking an owned `Vec<u8>`
+- `datafusion::test_util::parquet::TestParquetFile::create_scan`
+
+**Migration guide:**
+
+Remove `.await` from call sites; the compiler flags each one, since `.await`
+on a non-future value does not compile:
+
+```rust,ignore
+// Before
+let stream = csv_format
+    .read_to_delimited_chunks_from_stream(input)
+    .await;
+let plan = deserialize_bytes(proto_bytes).await?;
+
+// After
+let stream = csv_format.read_to_delimited_chunks_from_stream(input);
+let plan = deserialize_bytes(&proto_bytes)?;
+```
+
 ### `MSRV` updated to 1.94.0
 
 The Minimum Supported Rust Version (MSRV) has been updated to [`1.94.0`].
diff --git a/library-user-guide/upgrading/55.0.0.html b/library-user-guide/upgrading/55.0.0.html
index 139e680e46..73a4daacbc 100644
--- a/library-user-guide/upgrading/55.0.0.html
+++ b/library-user-guide/upgrading/55.0.0.html
@@ -1173,6 +1173,33 @@ not expose a catalog can return the new <code class="docutils literal notranslat
 </div>
 <p>See <a class="reference external" href="https://github.com/apache/datafusion/pull/23703">PR #23703</a> for details.</p>
 </section>
+<section id="unused-async-removed-from-several-public-functions">
+<h3>Unused <code class="docutils literal notranslate"><span class="pre">async</span></code> removed from several public functions<a class="headerlink" href="#unused-async-removed-from-several-public-functions" title="Link to this heading">#</a></h3>
+<p>Public functions that were declared <code class="docutils literal notranslate"><span class="pre">async</span></code> but never awaited anything are now
+synchronous:</p>
+<ul class="simple">
+<li><p><code class="docutils literal notranslate"><span class="pre">CsvFormat::read_to_delimited_chunks_from_stream</span></code> (in
+<code class="docutils literal notranslate"><span class="pre">datafusion_datasource_csv</span></code>, re-exported as
+<code class="docutils literal notranslate"><span class="pre">datafusion::datasource::file_format::csv::CsvFormat</span></code>)</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">datafusion_substrait::serializer::deserialize_bytes</span></code>, which now also borrows
+its input as <code class="docutils literal notranslate"><span class="pre">&amp;[u8]</span></code> instead of taking an owned <code class="docutils literal notranslate"><span class="pre">Vec&lt;u8&gt;</span></code></p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">datafusion::test_util::parquet::TestParquetFile::create_scan</span></code></p></li>
+</ul>
+<p><strong>Migration guide:</strong></p>
+<p>Remove <code class="docutils literal notranslate"><span class="pre">.await</span></code> from call sites; the compiler flags each one, since <code class="docutils literal notranslate"><span class="pre">.await</span></code>
+on a non-future value does not compile:</p>
+<div class="highlight-rust notranslate"><div class="highlight"><pre><span></span><span class="c1">// Before</span>
+<span class="kd">let</span><span class="w"> </span><span class="n">stream</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">csv_format</span>
+<span class="w">    </span><span class="p">.</span><span class="n">read_to_delimited_chunks_from_stream</span><span class="p">(</span><span class="n">input</span><span class="p">)</span>
+<span class="w">    </span><span class="p">.</span><span class="k">await</span><span class="p">;</span>
+<span class="kd">let</span><span class="w"> </span><span class="n">plan</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">deserialize_bytes</span><span class="p">(</span><span class="n">proto_bytes</span><span class="p">).</span><span class="k">await</span><span class="o">?</span><span class="p">;</span>
+
+<span class="c1">// After</span>
+<span class="kd">let</span><span class="w"> </span><span class="n">stream</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">csv_format</span><span class="p">.</span><span class="n">read_to_delimited_chunks_from_stream</span><span class="p">(</span><span class="n">input</span><span class="p">);</span>
+<span class="kd">let</span><span class="w"> </span><span class="n">plan</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">deserialize_bytes</span><span class="p">(</span><span class="o">&amp;</span><span class="n">proto_bytes</span><span class="p">)</span><span class="o">?</span><span class="p">;</span>
+</pre></div>
+</div>
+</section>
 <section id="msrv-updated-to-1-94-0">
 <h3><code class="docutils literal notranslate"><span class="pre">MSRV</span></code> updated to 1.94.0<a class="headerlink" href="#msrv-updated-to-1-94-0" title="Link to this heading">#</a></h3>
 <p>The Minimum Supported Rust Version (MSRV) has been updated to <a class="reference external" href="https://releases.rs/docs/1.94.0/"><code class="docutils literal notranslate"><span class="pre">1.94.0</span></code></a>.</p>
@@ -1252,6 +1279,7 @@ not expose a catalog can return the new <code class="docutils literal notranslat
 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#scalar-subquery-state-moved-to-an-explicit-physicalplanningcontext">Scalar-subquery state moved to an explicit <code class="docutils literal notranslate"><span class="pre">PhysicalPlanningContext</span></code></a></li>
 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#catalog-traits-moved-to-datafusion-session">Catalog traits moved to <code class="docutils literal notranslate"><span class="pre">datafusion-session</span></code></a></li>
 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#session-gains-a-required-catalog-list-method"><code class="docutils literal notranslate"><span class="pre">Session</span></code> gains a required <code class="docutils literal notranslate"><span class="pre">catalog_list</span></code> method</a></li>
+<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#unused-async-removed-from-several-public-functions">Unused <code class="docutils literal notranslate"><span class="pre">async</span></code> removed from several public functions</a></li>
 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#msrv-updated-to-1-94-0"><code class="docutils literal notranslate"><span class="pre">MSRV</span></code> updated to 1.94.0</a></li>
 </ul>
 </li>
diff --git a/searchindex.js b/searchindex.js
index 0faa35fb90..f29552b495 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles":{"!=":[[74,"op-neq"]],"!~":[[74,"op-re-not-match"]],"!~*":[[74,"op-re-not-match-i"]],"!~~":[[74,"id19"]],"!~~*":[[74,"id20"]],"#":[[74,"op-bit-xor"]],"%":[[74,"op-modulo"]],"&":[[74,"op-bit-and"]],"(relation, name) tuples in logical fields and logical columns are unique":[[15,"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]],"*":[[74,"op-multiply"]],"+":[[74,"op-plus"]],"-":[[74,"op-minus"]],"/":[[74,"op-divide"]],"1. Array Literal Con [...]
\ No newline at end of file
+Search.setIndex({"alltitles":{"!=":[[74,"op-neq"]],"!~":[[74,"op-re-not-match"]],"!~*":[[74,"op-re-not-match-i"]],"!~~":[[74,"id19"]],"!~~*":[[74,"id20"]],"#":[[74,"op-bit-xor"]],"%":[[74,"op-modulo"]],"&":[[74,"op-bit-and"]],"(relation, name) tuples in logical fields and logical columns are unique":[[15,"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]],"*":[[74,"op-multiply"]],"+":[[74,"op-plus"]],"-":[[74,"op-minus"]],"/":[[74,"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