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 2c2645f79d Publish built docs triggered by
6cf74d64e39ae2003defa872fe10fda56f8ef8f2
2c2645f79d is described below
commit 2c2645f79dd7ab38e8d4d20bb438341eb13c1707
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed May 21 14:47:02 2025 +0000
Publish built docs triggered by 6cf74d64e39ae2003defa872fe10fda56f8ef8f2
---
_sources/library-user-guide/upgrading.md.txt | 13 ++++++++++
library-user-guide/upgrading.html | 39 ++++++++++++++++++++++++++++
searchindex.js | 2 +-
3 files changed, 53 insertions(+), 1 deletion(-)
diff --git a/_sources/library-user-guide/upgrading.md.txt
b/_sources/library-user-guide/upgrading.md.txt
index 415bb658d4..2bf76e64ed 100644
--- a/_sources/library-user-guide/upgrading.md.txt
+++ b/_sources/library-user-guide/upgrading.md.txt
@@ -21,6 +21,19 @@
## DataFusion `48.0.0`
+### `ListingOptions` default for `collect_stat` changed from `true` to `false`
+
+This makes it agree with the default for `SessionConfig`.
+Most users won't be impacted by this change but if you were using
`ListingOptions` directly
+and relied on the default value of `collect_stat` being `true`, you will need
to
+explicitly set it to `true` in your code.
+
+```rust
+ListingOptions::new(Arc::new(ParquetFormat::default()))
+ .with_collect_stat(true)
+ // other options
+```
+
### Processing `Field` instead of `DataType` for user defined functions
In order to support metadata handling and extension types, user defined
functions are
diff --git a/library-user-guide/upgrading.html
b/library-user-guide/upgrading.html
index 03e5253f83..c9644bf763 100644
--- a/library-user-guide/upgrading.html
+++ b/library-user-guide/upgrading.html
@@ -537,6 +537,33 @@
</code>
</a>
<ul class="nav section-nav flex-column">
+ <li class="toc-h3 nav-item toc-entry">
+ <a class="reference internal nav-link"
href="#listingoptions-default-for-collect-stat-changed-from-true-to-false">
+ <code class="docutils literal notranslate">
+ <span class="pre">
+ ListingOptions
+ </span>
+ </code>
+ default for
+ <code class="docutils literal notranslate">
+ <span class="pre">
+ collect_stat
+ </span>
+ </code>
+ changed from
+ <code class="docutils literal notranslate">
+ <span class="pre">
+ true
+ </span>
+ </code>
+ to
+ <code class="docutils literal notranslate">
+ <span class="pre">
+ false
+ </span>
+ </code>
+ </a>
+ </li>
<li class="toc-h3 nav-item toc-entry">
<a class="reference internal nav-link"
href="#processing-field-instead-of-datatype-for-user-defined-functions">
Processing
@@ -820,6 +847,18 @@
<h1>Upgrade Guides<a class="headerlink" href="#upgrade-guides" title="Link to
this heading">¶</a></h1>
<section id="datafusion-48-0-0">
<h2>DataFusion <code class="docutils literal notranslate"><span
class="pre">48.0.0</span></code><a class="headerlink" href="#datafusion-48-0-0"
title="Link to this heading">¶</a></h2>
+<section
id="listingoptions-default-for-collect-stat-changed-from-true-to-false">
+<h3><code class="docutils literal notranslate"><span
class="pre">ListingOptions</span></code> default for <code class="docutils
literal notranslate"><span class="pre">collect_stat</span></code> changed from
<code class="docutils literal notranslate"><span class="pre">true</span></code>
to <code class="docutils literal notranslate"><span
class="pre">false</span></code><a class="headerlink"
href="#listingoptions-default-for-collect-stat-changed-from-true-to-false"
title="Link to this headi [...]
+<p>This makes it agree with the default for <code class="docutils literal
notranslate"><span class="pre">SessionConfig</span></code>.
+Most users won’t be impacted by this change but if you were using <code
class="docutils literal notranslate"><span
class="pre">ListingOptions</span></code> directly
+and relied on the default value of <code class="docutils literal
notranslate"><span class="pre">collect_stat</span></code> being <code
class="docutils literal notranslate"><span class="pre">true</span></code>, you
will need to
+explicitly set it to <code class="docutils literal notranslate"><span
class="pre">true</span></code> in your code.</p>
+<div class="highlight-rust notranslate"><div
class="highlight"><pre><span></span><span class="n">ListingOptions</span><span
class="p">::</span><span class="n">new</span><span class="p">(</span><span
class="n">Arc</span><span class="p">::</span><span class="n">new</span><span
class="p">(</span><span class="n">ParquetFormat</span><span
class="p">::</span><span class="n">default</span><span class="p">()))</span>
+<span class="w"> </span><span class="p">.</span><span
class="n">with_collect_stat</span><span class="p">(</span><span
class="kc">true</span><span class="p">)</span>
+<span class="w"> </span><span class="c1">// other options</span>
+</pre></div>
+</div>
+</section>
<section id="processing-field-instead-of-datatype-for-user-defined-functions">
<h3>Processing <code class="docutils literal notranslate"><span
class="pre">Field</span></code> instead of <code class="docutils literal
notranslate"><span class="pre">DataType</span></code> for user defined
functions<a class="headerlink"
href="#processing-field-instead-of-datatype-for-user-defined-functions"
title="Link to this heading">¶</a></h3>
<p>In order to support metadata handling and extension types, user defined
functions are
diff --git a/searchindex.js b/searchindex.js
index 35cc044ace..a47f36f3af 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles":{"!=":[[54,"op-neq"]],"!~":[[54,"op-re-not-match"]],"!~*":[[54,"op-re-not-match-i"]],"!~~":[[54,"id19"]],"!~~*":[[54,"id20"]],"#":[[54,"op-bit-xor"]],"%":[[54,"op-modulo"]],"&":[[54,"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"]],"*":[[54,"op-multiply"]],"+":[[54,"op-plus"]],"-":[[54,"op-minus"]],"/":[[54,"op-divide"]],"2022
Q2":[[10,"q2"]] [...]
\ No newline at end of file
+Search.setIndex({"alltitles":{"!=":[[54,"op-neq"]],"!~":[[54,"op-re-not-match"]],"!~*":[[54,"op-re-not-match-i"]],"!~~":[[54,"id19"]],"!~~*":[[54,"id20"]],"#":[[54,"op-bit-xor"]],"%":[[54,"op-modulo"]],"&":[[54,"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"]],"*":[[54,"op-multiply"]],"+":[[54,"op-plus"]],"-":[[54,"op-minus"]],"/":[[54,"op-divide"]],"2022
Q2":[[10,"q2"]] [...]
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]