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 94122b2533 Publish built docs triggered by 097e893f92cf5859d31e18697fadd30985497825 94122b2533 is described below commit 94122b25336253380d888ee75772305c33c9ce77 Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Aug 27 14:52:38 2025 +0000 Publish built docs triggered by 097e893f92cf5859d31e18697fadd30985497825 --- _sources/library-user-guide/using-the-sql-api.md.txt | 2 ++ library-user-guide/using-the-sql-api.html | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/_sources/library-user-guide/using-the-sql-api.md.txt b/_sources/library-user-guide/using-the-sql-api.md.txt index f78cf16f4c..fad5e3e1d6 100644 --- a/_sources/library-user-guide/using-the-sql-api.md.txt +++ b/_sources/library-user-guide/using-the-sql-api.md.txt @@ -119,6 +119,7 @@ async fn main() -> Result<()> { DataFusion can also read Avro files using the `register_avro` method. ```rust +{ use datafusion::arrow::util::pretty; use datafusion::error::Result; use datafusion::prelude::*; @@ -154,6 +155,7 @@ async fn main() -> Result<()> { ); Ok(()) } +} ``` ## Reading Multiple Files as a table diff --git a/library-user-guide/using-the-sql-api.html b/library-user-guide/using-the-sql-api.html index 0c3d9e19de..15f068d77f 100644 --- a/library-user-guide/using-the-sql-api.html +++ b/library-user-guide/using-the-sql-api.html @@ -739,7 +739,8 @@ work with DataFrames.</p> <section id="read-an-apache-avro-file"> <h3>Read an Apache Avro file<a class="headerlink" href="#read-an-apache-avro-file" title="Link to this heading">ΒΆ</a></h3> <p>DataFusion can also read Avro files using the <code class="docutils literal notranslate"><span class="pre">register_avro</span></code> method.</p> -<div class="highlight-rust notranslate"><div class="highlight"><pre><span></span><span class="k">use</span><span class="w"> </span><span class="n">datafusion</span><span class="p">::</span><span class="n">arrow</span><span class="p">::</span><span class="n">util</span><span class="p">::</span><span class="n">pretty</span><span class="p">;</span> +<div class="highlight-rust notranslate"><div class="highlight"><pre><span></span><span class="p">{</span> +<span class="k">use</span><span class="w"> </span><span class="n">datafusion</span><span class="p">::</span><span class="n">arrow</span><span class="p">::</span><span class="n">util</span><span class="p">::</span><span class="n">pretty</span><span class="p">;</span> <span class="k">use</span><span class="w"> </span><span class="n">datafusion</span><span class="p">::</span><span class="n">error</span><span class="p">::</span><span class="nb">Result</span><span class="p">;</span> <span class="k">use</span><span class="w"> </span><span class="n">datafusion</span><span class="p">::</span><span class="n">prelude</span><span class="p">::</span><span class="o">*</span><span class="p">;</span> @@ -774,6 +775,7 @@ work with DataFrames.</p> <span class="w"> </span><span class="p">);</span> <span class="w"> </span><span class="nb">Ok</span><span class="p">(())</span> <span class="p">}</span> +<span class="p">}</span> </pre></div> </div> </section> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@datafusion.apache.org For additional commands, e-mail: commits-h...@datafusion.apache.org