Skip to content

Apache DataFusion SQL Query Engine

Docs: Update Upgrading.md to reflect 49.0.0 is released (#16853)

Andrew Lamb8d74be8ce4a4
diff --git a/Cargo.lock b/Cargo.lock
index 200a2bd5bf..b58886ceea 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -265,7 +265,7 @@ dependencies = [
"arrow-select",
"arrow-string",
"half",
- "rand 0.9.2",
+ "rand 0.9.1",
]
[[package]]
@@ -712,9 +712,9 @@ dependencies = [
[[package]]
name = "aws-sdk-sso"
-version = "1.77.0"
+version = "1.78.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "18f2f37fea82468fe3f5a059542c05392ef680c4f7f00e0db02df8b6e5c7d0c6"
+checksum = "dbd7bc4bd34303733bded362c4c997a39130eac4310257c79aae8484b1c4b724"
dependencies = [
"aws-credential-types",
"aws-runtime",
@@ -734,9 +734,9 @@ dependencies = [
[[package]]
name = "aws-sdk-ssooidc"
-version = "1.78.0"
+version = "1.79.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ecb4f6eada20e0193450cd48b12ed05e1e66baac86f39160191651b932f2b7d9"
+checksum = "77358d25f781bb106c1a69531231d4fd12c6be904edb0c47198c604df5a2dbca"
dependencies = [
"aws-credential-types",
"aws-runtime",
@@ -756,9 +756,9 @@ dependencies = [
[[package]]
name = "aws-sdk-sts"
-version = "1.79.0"
+version = "1.80.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "317377afba3498fca4948c5d32b399ef9a5ad35561a1e8a6f2ac7273dabf802d"
+checksum = "06e3ed2a9b828ae7763ddaed41d51724d2661a50c45f845b08967e52f4939cfc"
dependencies = [
"aws-credential-types",
"aws-runtime",
@@ -1871,7 +1871,7 @@ dependencies = [
"parking_lot",
"parquet",
"paste",
- "rand 0.9.2",
+ "rand 0.9.1",
"rand_distr",
"regex",
"rstest",
@@ -1902,7 +1902,7 @@ dependencies = [
"mimalloc",
"object_store",
"parquet",
- "rand 0.9.2",
+ "rand 0.9.1",
"serde",
"serde_json",
"snmalloc-rs",
@@ -2010,7 +2010,7 @@ dependencies = [
"parquet",
"paste",
"pyo3",
- "rand 0.9.2",
+ "rand 0.9.1",
"recursive",
"sqlparser",
"tokio",
@@ -2052,7 +2052,7 @@ dependencies = [
"log",
"object_store",
"parquet",
- "rand 0.9.2",
+ "rand 0.9.1",
"tempfile",
"tokio",
"tokio-util",
@@ -2160,7 +2160,7 @@ dependencies = [
"object_store",
"parking_lot",
"parquet",
- "rand 0.9.2",
+ "rand 0.9.1",
"tokio",
]
@@ -2213,7 +2213,7 @@ dependencies = [
"log",
"object_store",
"parking_lot",
- "rand 0.9.2",
+ "rand 0.9.1",
"tempfile",
"url",
]
@@ -2294,7 +2294,7 @@ dependencies = [
"itertools 0.14.0",
"log",
"md-5",
- "rand 0.9.2",
+ "rand 0.9.1",
"regex",
"sha2",
"tokio",
@@ -2320,7 +2320,7 @@ dependencies = [
"half",
"log",
"paste",
- "rand 0.9.2",
+ "rand 0.9.1",
]
[[package]]
@@ -2333,7 +2333,7 @@ dependencies = [
"datafusion-common",
"datafusion-expr-common",
"datafusion-physical-expr-common",
- "rand 0.9.2",
+ "rand 0.9.1",
]
[[package]]
@@ -2355,7 +2355,7 @@ dependencies = [
"itertools 0.14.0",
"log",
"paste",
- "rand 0.9.2",
+ "rand 0.9.1",
]
[[package]]
@@ -2453,7 +2453,7 @@ dependencies = [
"log",
"paste",
"petgraph 0.8.2",
- "rand 0.9.2",
+ "rand 0.9.1",
"rstest",
]
@@ -2519,7 +2519,7 @@ dependencies = [
"log",
"parking_lot",
"pin-project-lite",
- "rand 0.9.2",
+ "rand 0.9.1",
"rstest",
"rstest_reuse",
"tempfile",
@@ -2617,7 +2617,7 @@ dependencies = [
"datafusion-functions",
"datafusion-macros",
"log",
- "rand 0.9.2",
+ "rand 0.9.1",
]
[[package]]
@@ -4387,7 +4387,7 @@ dependencies = [
"parking_lot",
"percent-encoding",
"quick-xml",
- "rand 0.9.2",
+ "rand 0.9.1",
"reqwest",
"ring",
"rustls-pemfile",
@@ -4752,7 +4752,7 @@ dependencies = [
"hmac",
"md-5",
"memchr",
- "rand 0.9.2",
+ "rand 0.9.1",
"sha2",
"stringprep",
]
@@ -5084,7 +5084,7 @@ dependencies = [
"bytes",
"getrandom 0.3.3",
"lru-slab",
- "rand 0.9.2",
+ "rand 0.9.1",
"ring",
"rustc-hash 2.1.1",
"rustls",
@@ -5154,9 +5154,9 @@ dependencies = [
[[package]]
name = "rand"
-version = "0.9.2"
+version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
+checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97"
dependencies = [
"rand_chacha 0.9.0",
"rand_core 0.9.3",
@@ -5207,7 +5207,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a8615d50dcf34fa31f7ab52692afec947c4dd0ab803cc87cb3b0b4570ff7463"
dependencies = [
"num-traits",
- "rand 0.9.2",
+ "rand 0.9.1",
]
[[package]]
@@ -5780,9 +5780,9 @@ dependencies = [
[[package]]
name = "serde_json"
-version = "1.0.141"
+version = "1.0.140"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30b9eff21ebe718216c6ec64e1d9ac57087aad11efc64e32002bce4a0d4c03d3"
+checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
dependencies = [
"itoa",
"memchr",
@@ -6262,7 +6262,7 @@ dependencies = [
"chrono-tz",
"datafusion-common",
"env_logger",
- "rand 0.9.2",
+ "rand 0.9.1",
]
[[package]]
@@ -6498,7 +6498,7 @@ dependencies = [
"pin-project-lite",
"postgres-protocol",
"postgres-types",
- "rand 0.9.2",
+ "rand 0.9.1",
"socket2",
"tokio",
"tokio-util",
diff --git a/docs/source/library-user-guide/upgrading.md b/docs/source/library-user-guide/upgrading.md
index 6bae22f691..268b156608 100644
--- a/docs/source/library-user-guide/upgrading.md
+++ b/docs/source/library-user-guide/upgrading.md
@@ -19,10 +19,12 @@
# Upgrade Guides
-## DataFusion `49.0.0`
+## DataFusion `50.0.0`
+
+**Note:** DataFusion `50.0.0` has not been released yet. The information provided in this section pertains to features and changes that have already been merged to the main branch and are awaiting release in this version.
+You can see the current [status of the `50.0.0 `release here](https://github.com/apache/datafusion/issues/16799)
-**Note:** DataFusion `49.0.0` has not been released yet. The information provided in this section pertains to features and changes that have already been merged to the main branch and are awaiting release in this version.
-You can see the current [status of the `49.0.0 `release here](https://github.com/apache/datafusion/issues/16235)
+## DataFusion `49.0.0`
### `MSRV` updated to 1.85.1
@@ -195,6 +197,35 @@ See [#16800] for details.
[#16800]: https://github.com/apache/datafusion/issues/16800
+### `TableParquetOptions` Updated
+
+The `TableParquetOptions` struct has a new `crypto` field to specify encryption
+options for Parquet files. The `ParquetEncryptionOptions` implements `Default`
+so you can upgrade your existing code like this:
+
+```rust
+# /* comment to avoid running
+TableParquetOptions {
+ global,
+ column_specific_options,
+ key_value_metadata,
+}
+# */
+```
+
+To this:
+
+```rust
+# /* comment to avoid running
+TableParquetOptions {
+ global,
+ column_specific_options,
+ key_value_metadata,
+ crypto: Default::default(), // New crypto field
+}
+# */
+```
+
## DataFusion `48.0.1`
### `datafusion.execution.collect_statistics` now defaults to `true`