Skip to content

Apache DataFusion SQL Query Engine

Update Upgrade Guide for 48.0.1 (#16699)

Andrew Lambebb8e9591322
diff --git a/docs/source/index.rst b/docs/source/index.rst
index 01f39bcb7c..a22c109655 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -126,6 +126,7 @@ To get started, see
:caption: Library User Guide
library-user-guide/index
+ library-user-guide/upgrading
library-user-guide/extensions
library-user-guide/using-the-sql-api
library-user-guide/working-with-exprs
@@ -138,7 +139,6 @@ To get started, see
library-user-guide/extending-operators
library-user-guide/profiling
library-user-guide/query-optimizer
- library-user-guide/upgrading
.. .. _toc.contributor-guide:
diff --git a/docs/source/library-user-guide/upgrading.md b/docs/source/library-user-guide/upgrading.md
index dd702c2636..a28686e01f 100644
--- a/docs/source/library-user-guide/upgrading.md
+++ b/docs/source/library-user-guide/upgrading.md
@@ -62,24 +62,7 @@ DataFusionError::SchemaError(
[#16652]: https://github.com/apache/datafusion/issues/16652
-### `datafusion.execution.collect_statistics` now defaults to `true`
-
-The default value of the `datafusion.execution.collect_statistics` configuration
-setting is now true. This change impacts users that use that value directly and relied
-on its default value being `false`.
-
-This change also restores the default behavior of `ListingTable` to its previous. If you use it directly
-you can maintain the current behavior by overriding the default value in your code.
-
-```rust
-# /* comment to avoid running
-ListingOptions::new(Arc::new(ParquetFormat::default()))
- .with_collect_stat(false)
- // other options
-# */
-```
-
-### Metadata is now represented by `FieldMetadata`
+### Metadata on Arrow Types is now represented by `FieldMetadata`
Metadata from the Arrow `Field` is now stored using the `FieldMetadata`
structure. In prior versions it was stored as both a `HashMap<String, String>`
@@ -137,6 +120,25 @@ SET datafusion.execution.spill_compression = 'zstd';
For more details about this configuration option, including performance trade-offs between different compression codecs, see the [Configuration Settings](../user-guide/configs.md) documentation.
+## DataFusion `48.0.1`
+
+### `datafusion.execution.collect_statistics` now defaults to `true`
+
+The default value of the `datafusion.execution.collect_statistics` configuration
+setting is now true. This change impacts users that use that value directly and relied
+on its default value being `false`.
+
+This change also restores the default behavior of `ListingTable` to its previous. If you use it directly
+you can maintain the current behavior by overriding the default value in your code.
+
+```rust
+# /* comment to avoid running
+ListingOptions::new(Arc::new(ParquetFormat::default()))
+ .with_collect_stat(false)
+ // other options
+# */
+```
+
## DataFusion `48.0.0`
### `Expr::Literal` has optional metadata