Skip to content

Apache DataFusion SQL Query Engine

Prepare for 20.0.0 release [Part 1] (#5539)

Andy Grovea76800408263
diff --git a/Cargo.toml b/Cargo.toml
index e7eb05ca1f..19de4c4112 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -36,7 +36,7 @@ members = [
]
[workspace.package]
-version = "19.0.0"
+version = "20.0.0"
edition = "2021"
readme = "README.md"
authors = ["Apache Arrow <[email protected]>"]
diff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.toml
index ad21cb2a39..2727171213 100644
--- a/benchmarks/Cargo.toml
+++ b/benchmarks/Cargo.toml
@@ -18,7 +18,7 @@
[package]
name = "datafusion-benchmarks"
description = "DataFusion Benchmarks"
-version = "19.0.0"
+version = "20.0.0"
edition = "2021"
authors = ["Apache Arrow <[email protected]>"]
homepage = "https://github.com/apache/arrow-datafusion"
@@ -34,7 +34,7 @@ snmalloc = ["snmalloc-rs"]
[dependencies]
arrow = { workspace = true }
-datafusion = { path = "../datafusion/core", version = "19.0.0", features = ["scheduler"] }
+datafusion = { path = "../datafusion/core", version = "20.0.0", features = ["scheduler"] }
env_logger = "0.10"
futures = "0.3"
mimalloc = { version = "0.1", optional = true, default-features = false }
@@ -51,4 +51,4 @@ test-utils = { path = "../test-utils/", version = "0.1.0" }
tokio = { version = "^1.0", features = ["macros", "rt", "rt-multi-thread", "parking_lot"] }
[dev-dependencies]
-datafusion-proto = { path = "../datafusion/proto", version = "19.0.0" }
+datafusion-proto = { path = "../datafusion/proto", version = "20.0.0" }
diff --git a/datafusion-cli/Cargo.lock b/datafusion-cli/Cargo.lock
index 784b470e2e..07c56bdf44 100644
--- a/datafusion-cli/Cargo.lock
+++ b/datafusion-cli/Cargo.lock
@@ -356,9 +356,9 @@ dependencies = [
[[package]]
name = "block-buffer"
-version = "0.10.3"
+version = "0.10.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e"
+checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
dependencies = [
"generic-array",
]
@@ -670,7 +670,7 @@ dependencies = [
[[package]]
name = "datafusion"
-version = "19.0.0"
+version = "20.0.0"
dependencies = [
"ahash",
"arrow",
@@ -717,7 +717,7 @@ dependencies = [
[[package]]
name = "datafusion-cli"
-version = "19.0.0"
+version = "20.0.0"
dependencies = [
"arrow",
"async-trait",
@@ -735,7 +735,7 @@ dependencies = [
[[package]]
name = "datafusion-common"
-version = "19.0.0"
+version = "20.0.0"
dependencies = [
"arrow",
"chrono",
@@ -747,7 +747,7 @@ dependencies = [
[[package]]
name = "datafusion-execution"
-version = "19.0.0"
+version = "20.0.0"
dependencies = [
"dashmap",
"datafusion-common",
@@ -763,7 +763,7 @@ dependencies = [
[[package]]
name = "datafusion-expr"
-version = "19.0.0"
+version = "20.0.0"
dependencies = [
"ahash",
"arrow",
@@ -774,7 +774,7 @@ dependencies = [
[[package]]
name = "datafusion-optimizer"
-version = "19.0.0"
+version = "20.0.0"
dependencies = [
"arrow",
"async-trait",
@@ -790,7 +790,7 @@ dependencies = [
[[package]]
name = "datafusion-physical-expr"
-version = "19.0.0"
+version = "20.0.0"
dependencies = [
"ahash",
"arrow",
@@ -820,7 +820,7 @@ dependencies = [
[[package]]
name = "datafusion-row"
-version = "19.0.0"
+version = "20.0.0"
dependencies = [
"arrow",
"datafusion-common",
@@ -830,7 +830,7 @@ dependencies = [
[[package]]
name = "datafusion-sql"
-version = "19.0.0"
+version = "20.0.0"
dependencies = [
"arrow-schema",
"datafusion-common",
@@ -1464,9 +1464,9 @@ dependencies = [
[[package]]
name = "libc"
-version = "0.2.139"
+version = "0.2.140"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79"
+checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c"
[[package]]
name = "libm"
@@ -2621,9 +2621,9 @@ dependencies = [
[[package]]
name = "utf8parse"
-version = "0.2.0"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "936e4b492acfd135421d8dca4b1aa80a7bfc26e702ef3af710e0752684df5372"
+checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
[[package]]
name = "uuid"
diff --git a/datafusion-cli/Cargo.toml b/datafusion-cli/Cargo.toml
index 53404dcfe0..1a84af10a5 100644
--- a/datafusion-cli/Cargo.toml
+++ b/datafusion-cli/Cargo.toml
@@ -18,7 +18,7 @@
[package]
name = "datafusion-cli"
description = "Command Line Client for DataFusion query engine."
-version = "19.0.0"
+version = "20.0.0"
authors = ["Apache Arrow <[email protected]>"]
edition = "2021"
keywords = ["arrow", "datafusion", "query", "sql"]
@@ -32,7 +32,7 @@ readme = "README.md"
arrow = "34.0.0"
async-trait = "0.1.41"
clap = { version = "3", features = ["derive", "cargo"] }
-datafusion = { path = "../datafusion/core", version = "19.0.0" }
+datafusion = { path = "../datafusion/core", version = "20.0.0" }
dirs = "4.0.0"
env_logger = "0.9"
mimalloc = { version = "0.1", default-features = false }
diff --git a/datafusion/core/Cargo.toml b/datafusion/core/Cargo.toml
index 616f9a52b3..b9462b03b5 100644
--- a/datafusion/core/Cargo.toml
+++ b/datafusion/core/Cargo.toml
@@ -67,14 +67,14 @@ bytes = "1.4"
bzip2 = { version = "0.4.3", optional = true }
chrono = { version = "0.4.23", default-features = false }
dashmap = "5.4.0"
-datafusion-common = { path = "../common", version = "19.0.0", features = ["parquet", "object_store"] }
-datafusion-execution = { path = "../execution", version = "19.0.0" }
-datafusion-expr = { path = "../expr", version = "19.0.0" }
-datafusion-jit = { path = "../jit", version = "19.0.0", optional = true }
-datafusion-optimizer = { path = "../optimizer", version = "19.0.0", default-features = false }
-datafusion-physical-expr = { path = "../physical-expr", version = "19.0.0", default-features = false }
-datafusion-row = { path = "../row", version = "19.0.0" }
-datafusion-sql = { path = "../sql", version = "19.0.0" }
+datafusion-common = { path = "../common", version = "20.0.0", features = ["parquet", "object_store"] }
+datafusion-execution = { path = "../execution", version = "20.0.0" }
+datafusion-expr = { path = "../expr", version = "20.0.0" }
+datafusion-jit = { path = "../jit", version = "20.0.0", optional = true }
+datafusion-optimizer = { path = "../optimizer", version = "20.0.0", default-features = false }
+datafusion-physical-expr = { path = "../physical-expr", version = "20.0.0", default-features = false }
+datafusion-row = { path = "../row", version = "20.0.0" }
+datafusion-sql = { path = "../sql", version = "20.0.0" }
flate2 = { version = "1.0.24", optional = true }
futures = "0.3"
glob = "0.3.0"
diff --git a/datafusion/execution/Cargo.toml b/datafusion/execution/Cargo.toml
index 9530d77ec0..e6fa6efc43 100644
--- a/datafusion/execution/Cargo.toml
+++ b/datafusion/execution/Cargo.toml
@@ -34,8 +34,8 @@ path = "src/lib.rs"
[dependencies]
dashmap = "5.4.0"
-datafusion-common = { path = "../common", version = "19.0.0" }
-datafusion-expr = { path = "../expr", version = "19.0.0" }
+datafusion-common = { path = "../common", version = "20.0.0" }
+datafusion-expr = { path = "../expr", version = "20.0.0" }
hashbrown = { version = "0.13", features = ["raw"] }
log = "^0.4"
object_store = "0.5.4"
diff --git a/datafusion/expr/Cargo.toml b/datafusion/expr/Cargo.toml
index ed17fc6d83..de93ef0f43 100644
--- a/datafusion/expr/Cargo.toml
+++ b/datafusion/expr/Cargo.toml
@@ -37,7 +37,7 @@ path = "src/lib.rs"
[dependencies]
ahash = { version = "0.8", default-features = false, features = ["runtime-rng"] }
arrow = { workspace = true, default-features = false }
-datafusion-common = { path = "../common", version = "19.0.0" }
+datafusion-common = { path = "../common", version = "20.0.0" }
log = "^0.4"
sqlparser = "0.32"
diff --git a/datafusion/jit/Cargo.toml b/datafusion/jit/Cargo.toml
index b2bd1b16d2..109a16a8fa 100644
--- a/datafusion/jit/Cargo.toml
+++ b/datafusion/jit/Cargo.toml
@@ -41,7 +41,7 @@ cranelift = "0.89.0"
cranelift-jit = "0.89.0"
cranelift-module = "0.89.0"
cranelift-native = "0.89.0"
-datafusion-common = { path = "../common", version = "19.0.0", features = ["jit"] }
-datafusion-expr = { path = "../expr", version = "19.0.0" }
+datafusion-common = { path = "../common", version = "20.0.0", features = ["jit"] }
+datafusion-expr = { path = "../expr", version = "20.0.0" }
parking_lot = "0.12"
diff --git a/datafusion/optimizer/Cargo.toml b/datafusion/optimizer/Cargo.toml
index 0b1b467330..5d5b998b63 100644
--- a/datafusion/optimizer/Cargo.toml
+++ b/datafusion/optimizer/Cargo.toml
@@ -43,9 +43,9 @@ unicode_expressions = ["datafusion-physical-expr/unicode_expressions"]
arrow = { workspace = true }
async-trait = "0.1.41"
chrono = { version = "0.4.23", default-features = false }
-datafusion-common = { path = "../common", version = "19.0.0" }
-datafusion-expr = { path = "../expr", version = "19.0.0" }
-datafusion-physical-expr = { path = "../physical-expr", version = "19.0.0", default-features = false }
+datafusion-common = { path = "../common", version = "20.0.0" }
+datafusion-expr = { path = "../expr", version = "20.0.0" }
+datafusion-physical-expr = { path = "../physical-expr", version = "20.0.0", default-features = false }
hashbrown = { version = "0.13", features = ["raw"] }
itertools = "0.10"
log = "^0.4"
@@ -53,5 +53,5 @@ regex-syntax = "0.6.28"
[dev-dependencies]
ctor = "0.1.22"
-datafusion-sql = { path = "../sql", version = "19.0.0" }
+datafusion-sql = { path = "../sql", version = "20.0.0" }
env_logger = "0.10.0"
diff --git a/datafusion/physical-expr/Cargo.toml b/datafusion/physical-expr/Cargo.toml
index 49c2498ec8..54c05a3891 100644
--- a/datafusion/physical-expr/Cargo.toml
+++ b/datafusion/physical-expr/Cargo.toml
@@ -49,9 +49,9 @@ arrow-schema = { workspace = true }
blake2 = { version = "^0.10.2", optional = true }
blake3 = { version = "1.0", optional = true }
chrono = { version = "0.4.23", default-features = false }
-datafusion-common = { path = "../common", version = "19.0.0" }
-datafusion-expr = { path = "../expr", version = "19.0.0" }
-datafusion-row = { path = "../row", version = "19.0.0" }
+datafusion-common = { path = "../common", version = "20.0.0" }
+datafusion-expr = { path = "../expr", version = "20.0.0" }
+datafusion-row = { path = "../row", version = "20.0.0" }
half = { version = "2.1", default-features = false }
hashbrown = { version = "0.13", features = ["raw"] }
indexmap = "1.9.2"
diff --git a/datafusion/proto/Cargo.toml b/datafusion/proto/Cargo.toml
index eaadf59f9f..89bc04af98 100644
--- a/datafusion/proto/Cargo.toml
+++ b/datafusion/proto/Cargo.toml
@@ -42,9 +42,9 @@ json = ["pbjson", "serde", "serde_json"]
[dependencies]
arrow = { workspace = true }
chrono = { version = "0.4", default-features = false }
-datafusion = { path = "../core", version = "19.0.0" }
-datafusion-common = { path = "../common", version = "19.0.0" }
-datafusion-expr = { path = "../expr", version = "19.0.0" }
+datafusion = { path = "../core", version = "20.0.0" }
+datafusion-common = { path = "../common", version = "20.0.0" }
+datafusion-expr = { path = "../expr", version = "20.0.0" }
object_store = { version = "0.5.4" }
parking_lot = { version = "0.12" }
pbjson = { version = "0.5", optional = true }
diff --git a/datafusion/row/Cargo.toml b/datafusion/row/Cargo.toml
index cff99ed35b..117d7d7001 100644
--- a/datafusion/row/Cargo.toml
+++ b/datafusion/row/Cargo.toml
@@ -38,7 +38,7 @@ jit = ["datafusion-jit"]
[dependencies]
arrow = { workspace = true }
-datafusion-common = { path = "../common", version = "19.0.0" }
-datafusion-jit = { path = "../jit", version = "19.0.0", optional = true }
+datafusion-common = { path = "../common", version = "20.0.0" }
+datafusion-jit = { path = "../jit", version = "20.0.0", optional = true }
paste = "^1.0"
rand = "0.8"
diff --git a/datafusion/sql/Cargo.toml b/datafusion/sql/Cargo.toml
index 2c5d14b7e7..4997ff41cd 100644
--- a/datafusion/sql/Cargo.toml
+++ b/datafusion/sql/Cargo.toml
@@ -38,8 +38,8 @@ unicode_expressions = []
[dependencies]
arrow-schema = { workspace = true }
-datafusion-common = { path = "../common", version = "19.0.0" }
-datafusion-expr = { path = "../expr", version = "19.0.0" }
+datafusion-common = { path = "../common", version = "20.0.0" }
+datafusion-expr = { path = "../expr", version = "20.0.0" }
log = "^0.4"
sqlparser = "0.32"
diff --git a/datafusion/substrait/Cargo.toml b/datafusion/substrait/Cargo.toml
index 4060ad4ab8..9a9e0c52ac 100644
--- a/datafusion/substrait/Cargo.toml
+++ b/datafusion/substrait/Cargo.toml
@@ -30,7 +30,7 @@ rust-version = { workspace = true }
[dependencies]
async-recursion = "1.0"
chrono = "0.4.23"
-datafusion = { version = "19.0.0", path = "../core" }
+datafusion = { version = "20.0.0", path = "../core" }
itertools = "0.10.5"
object_store = "0.5.4"
prost = "0.11"
diff --git a/dev/update_datafusion_versions.py b/dev/update_datafusion_versions.py
index 28ac9c71c7..ea5c89068a 100755
--- a/dev/update_datafusion_versions.py
+++ b/dev/update_datafusion_versions.py
@@ -32,6 +32,7 @@ crates = {
'datafusion-cli': 'datafusion-cli/Cargo.toml',
'datafusion-common': 'datafusion/common/Cargo.toml',
'datafusion-expr': 'datafusion/expr/Cargo.toml',
+ 'datafusion-execution': 'datafusion/execution/Cargo.toml',
'datafusion-jit': 'datafusion/jit/Cargo.toml',
'datafusion-optimizer': 'datafusion/optimizer/Cargo.toml',
'datafusion-physical-expr': 'datafusion/physical-expr/Cargo.toml',
@@ -49,7 +50,9 @@ def update_datafusion_version(cargo_toml: str, new_version: str):
data = f.read()
doc = tomlkit.parse(data)
- doc.get('package')['version'] = new_version
+ pkg = doc.get('package')
+ if 'workspace' not in pkg['version']:
+ pkg['version'] = new_version
with open(cargo_toml, 'w') as f:
f.write(tomlkit.dumps(doc))