Skip to content

Commit ebb8e95

Browse files
authored
Update Upgrade Guide for 48.0.1 (#16699)
1 parent ca3071e commit ebb8e95

File tree

2 files changed

+21
-19
lines changed

2 files changed

+21
-19
lines changed

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ To get started, see
126126
:caption: Library User Guide
127127

128128
library-user-guide/index
129+
library-user-guide/upgrading
129130
library-user-guide/extensions
130131
library-user-guide/using-the-sql-api
131132
library-user-guide/working-with-exprs
@@ -138,7 +139,6 @@ To get started, see
138139
library-user-guide/extending-operators
139140
library-user-guide/profiling
140141
library-user-guide/query-optimizer
141-
library-user-guide/upgrading
142142

143143
.. .. _toc.contributor-guide:
144144

docs/source/library-user-guide/upgrading.md

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -62,24 +62,7 @@ DataFusionError::SchemaError(
6262

6363
[#16652]: https://github.com/apache/datafusion/issues/16652
6464

65-
### `datafusion.execution.collect_statistics` now defaults to `true`
66-
67-
The default value of the `datafusion.execution.collect_statistics` configuration
68-
setting is now true. This change impacts users that use that value directly and relied
69-
on its default value being `false`.
70-
71-
This change also restores the default behavior of `ListingTable` to its previous. If you use it directly
72-
you can maintain the current behavior by overriding the default value in your code.
73-
74-
```rust
75-
# /* comment to avoid running
76-
ListingOptions::new(Arc::new(ParquetFormat::default()))
77-
.with_collect_stat(false)
78-
// other options
79-
# */
80-
```
81-
82-
### Metadata is now represented by `FieldMetadata`
65+
### Metadata on Arrow Types is now represented by `FieldMetadata`
8366

8467
Metadata from the Arrow `Field` is now stored using the `FieldMetadata`
8568
structure. In prior versions it was stored as both a `HashMap<String, String>`
@@ -137,6 +120,25 @@ SET datafusion.execution.spill_compression = 'zstd';
137120

138121
For more details about this configuration option, including performance trade-offs between different compression codecs, see the [Configuration Settings](../user-guide/configs.md) documentation.
139122

123+
## DataFusion `48.0.1`
124+
125+
### `datafusion.execution.collect_statistics` now defaults to `true`
126+
127+
The default value of the `datafusion.execution.collect_statistics` configuration
128+
setting is now true. This change impacts users that use that value directly and relied
129+
on its default value being `false`.
130+
131+
This change also restores the default behavior of `ListingTable` to its previous. If you use it directly
132+
you can maintain the current behavior by overriding the default value in your code.
133+
134+
```rust
135+
# /* comment to avoid running
136+
ListingOptions::new(Arc::new(ParquetFormat::default()))
137+
.with_collect_stat(false)
138+
// other options
139+
# */
140+
```
141+
140142
## DataFusion `48.0.0`
141143

142144
### `Expr::Literal` has optional metadata

0 commit comments

Comments
 (0)