Skip to content

Apache DataFusion SQL Query Engine

Prepare 30.0.0 release (#7372)

Andy Grove77e8f434c77a
diff --git a/Cargo.toml b/Cargo.toml
index 8b49fca77d..687475b0a5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/apache/arrow-datafusion"
rust-version = "1.70"
-version = "29.0.0"
+version = "30.0.0"
[workspace.dependencies]
arrow = { version = "45.0.0", features = ["prettyprint", "dyn_cmp_dict"] }
diff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.toml
index 2c88bb5be7..871ac16c8a 100644
--- a/benchmarks/Cargo.toml
+++ b/benchmarks/Cargo.toml
@@ -18,7 +18,7 @@
[package]
name = "datafusion-benchmarks"
description = "DataFusion Benchmarks"
-version = "29.0.0"
+version = "30.0.0"
edition = { workspace = true }
authors = ["Apache Arrow <[email protected]>"]
homepage = "https://github.com/apache/arrow-datafusion"
@@ -34,8 +34,8 @@ snmalloc = ["snmalloc-rs"]
[dependencies]
arrow = { workspace = true }
-datafusion = { path = "../datafusion/core", version = "29.0.0" }
-datafusion-common = { path = "../datafusion/common", version = "29.0.0" }
+datafusion = { path = "../datafusion/core", version = "30.0.0" }
+datafusion-common = { path = "../datafusion/common", version = "30.0.0" }
env_logger = "0.10"
futures = "0.3"
log = "^0.4"
@@ -50,4 +50,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 = "29.0.0" }
+datafusion-proto = { path = "../datafusion/proto", version = "30.0.0" }
diff --git a/datafusion-cli/Cargo.lock b/datafusion-cli/Cargo.lock
index c8d4df20fc..b05a4200ac 100644
--- a/datafusion-cli/Cargo.lock
+++ b/datafusion-cli/Cargo.lock
@@ -1048,7 +1048,7 @@ dependencies = [
[[package]]
name = "datafusion"
-version = "29.0.0"
+version = "30.0.0"
dependencies = [
"ahash",
"arrow",
@@ -1095,7 +1095,7 @@ dependencies = [
[[package]]
name = "datafusion-cli"
-version = "29.0.0"
+version = "30.0.0"
dependencies = [
"arrow",
"assert_cmd",
@@ -1119,7 +1119,7 @@ dependencies = [
[[package]]
name = "datafusion-common"
-version = "29.0.0"
+version = "30.0.0"
dependencies = [
"arrow",
"arrow-array",
@@ -1141,7 +1141,7 @@ dependencies = [
[[package]]
name = "datafusion-execution"
-version = "29.0.0"
+version = "30.0.0"
dependencies = [
"arrow",
"dashmap",
@@ -1159,7 +1159,7 @@ dependencies = [
[[package]]
name = "datafusion-expr"
-version = "29.0.0"
+version = "30.0.0"
dependencies = [
"ahash",
"arrow",
@@ -1172,7 +1172,7 @@ dependencies = [
[[package]]
name = "datafusion-optimizer"
-version = "29.0.0"
+version = "30.0.0"
dependencies = [
"arrow",
"async-trait",
@@ -1188,7 +1188,7 @@ dependencies = [
[[package]]
name = "datafusion-physical-expr"
-version = "29.0.0"
+version = "30.0.0"
dependencies = [
"ahash",
"arrow",
@@ -1221,7 +1221,7 @@ dependencies = [
[[package]]
name = "datafusion-sql"
-version = "29.0.0"
+version = "30.0.0"
dependencies = [
"arrow",
"arrow-schema",
diff --git a/datafusion-cli/Cargo.toml b/datafusion-cli/Cargo.toml
index fc38d59b70..84172743fc 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 = "29.0.0"
+version = "30.0.0"
authors = ["Apache Arrow <[email protected]>"]
edition = "2021"
keywords = ["arrow", "datafusion", "query", "sql"]
@@ -34,7 +34,7 @@ async-trait = "0.1.41"
aws-config = "0.55"
aws-credential-types = "0.55"
clap = { version = "3", features = ["derive", "cargo"] }
-datafusion = { path = "../datafusion/core", version = "29.0.0" }
+datafusion = { path = "../datafusion/core", version = "30.0.0" }
dirs = "4.0.0"
env_logger = "0.9"
mimalloc = { version = "0.1", default-features = false }
diff --git a/datafusion/CHANGELOG.md b/datafusion/CHANGELOG.md
index cdbbb68b28..2dac8a8c28 100644
--- a/datafusion/CHANGELOG.md
+++ b/datafusion/CHANGELOG.md
@@ -19,6 +19,7 @@
# Changelog
+- [30.0.0](../dev/changelog/30.0.0.md)
- [29.0.0](../dev/changelog/29.0.0.md)
- [28.0.0](../dev/changelog/28.0.0.md)
- [27.0.0](../dev/changelog/27.0.0.md)
diff --git a/datafusion/core/Cargo.toml b/datafusion/core/Cargo.toml
index 913d3c84be..a91da9fbf4 100644
--- a/datafusion/core/Cargo.toml
+++ b/datafusion/core/Cargo.toml
@@ -62,12 +62,12 @@ 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 = "29.0.0", features = ["parquet", "object_store"] }
-datafusion-execution = { path = "../execution", version = "29.0.0" }
-datafusion-expr = { path = "../expr", version = "29.0.0" }
-datafusion-optimizer = { path = "../optimizer", version = "29.0.0", default-features = false }
-datafusion-physical-expr = { path = "../physical-expr", version = "29.0.0", default-features = false }
-datafusion-sql = { path = "../sql", version = "29.0.0" }
+datafusion-common = { path = "../common", version = "30.0.0", features = ["parquet", "object_store"] }
+datafusion-execution = { path = "../execution", version = "30.0.0" }
+datafusion-expr = { path = "../expr", version = "30.0.0" }
+datafusion-optimizer = { path = "../optimizer", version = "30.0.0", default-features = false }
+datafusion-physical-expr = { path = "../physical-expr", version = "30.0.0", default-features = false }
+datafusion-sql = { path = "../sql", version = "30.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 88c709bd46..8d9c7a5f7f 100644
--- a/datafusion/execution/Cargo.toml
+++ b/datafusion/execution/Cargo.toml
@@ -35,8 +35,8 @@ path = "src/lib.rs"
[dependencies]
arrow = { workspace = true }
dashmap = "5.4.0"
-datafusion-common = { path = "../common", version = "29.0.0" }
-datafusion-expr = { path = "../expr", version = "29.0.0" }
+datafusion-common = { path = "../common", version = "30.0.0" }
+datafusion-expr = { path = "../expr", version = "30.0.0" }
futures = "0.3"
hashbrown = { version = "0.14", features = ["raw"] }
log = "^0.4"
diff --git a/datafusion/expr/Cargo.toml b/datafusion/expr/Cargo.toml
index 1756647a03..9634f23860 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 }
-datafusion-common = { path = "../common", version = "29.0.0" }
+datafusion-common = { path = "../common", version = "30.0.0" }
lazy_static = { version = "^1.4.0" }
sqlparser = { workspace = true }
strum = { version = "0.25.0", features = ["derive"] }
diff --git a/datafusion/optimizer/Cargo.toml b/datafusion/optimizer/Cargo.toml
index 8462f99153..533fdf9403 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 = "29.0.0" }
-datafusion-expr = { path = "../expr", version = "29.0.0" }
-datafusion-physical-expr = { path = "../physical-expr", version = "29.0.0", default-features = false }
+datafusion-common = { path = "../common", version = "30.0.0" }
+datafusion-expr = { path = "../expr", version = "30.0.0" }
+datafusion-physical-expr = { path = "../physical-expr", version = "30.0.0", default-features = false }
hashbrown = { version = "0.14", features = ["raw"] }
itertools = "0.11"
log = "^0.4"
@@ -53,5 +53,5 @@ regex-syntax = "0.7.1"
[dev-dependencies]
ctor = "0.2.0"
-datafusion-sql = { path = "../sql", version = "29.0.0" }
+datafusion-sql = { path = "../sql", version = "30.0.0" }
env_logger = "0.10.0"
diff --git a/datafusion/physical-expr/Cargo.toml b/datafusion/physical-expr/Cargo.toml
index 278cac1a9c..d529b6762e 100644
--- a/datafusion/physical-expr/Cargo.toml
+++ b/datafusion/physical-expr/Cargo.toml
@@ -52,8 +52,8 @@ base64 = { version = "0.21", optional = 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 = "29.0.0" }
-datafusion-expr = { path = "../expr", version = "29.0.0" }
+datafusion-common = { path = "../common", version = "30.0.0" }
+datafusion-expr = { path = "../expr", version = "30.0.0" }
half = { version = "2.1", default-features = false }
hashbrown = { version = "0.14", features = ["raw"] }
hex = { version = "0.4", optional = true }
diff --git a/datafusion/proto/Cargo.toml b/datafusion/proto/Cargo.toml
index 03ba48f1b1..82d3fe7e3f 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 = "29.0.0" }
-datafusion-common = { path = "../common", version = "29.0.0" }
-datafusion-expr = { path = "../expr", version = "29.0.0" }
+datafusion = { path = "../core", version = "30.0.0" }
+datafusion-common = { path = "../common", version = "30.0.0" }
+datafusion-expr = { path = "../expr", version = "30.0.0" }
object_store = { version = "0.6.1" }
pbjson = { version = "0.5", optional = true }
prost = "0.11.0"
diff --git a/datafusion/sql/Cargo.toml b/datafusion/sql/Cargo.toml
index 6be866e557..7af37cbb8a 100644
--- a/datafusion/sql/Cargo.toml
+++ b/datafusion/sql/Cargo.toml
@@ -39,8 +39,8 @@ unicode_expressions = []
[dependencies]
arrow = { workspace = true }
arrow-schema = { workspace = true }
-datafusion-common = { path = "../common", version = "29.0.0" }
-datafusion-expr = { path = "../expr", version = "29.0.0" }
+datafusion-common = { path = "../common", version = "30.0.0" }
+datafusion-expr = { path = "../expr", version = "30.0.0" }
log = "^0.4"
sqlparser = { workspace = true }
diff --git a/datafusion/sqllogictest/Cargo.toml b/datafusion/sqllogictest/Cargo.toml
index fcfa81e7c3..d3fe485f7f 100644
--- a/datafusion/sqllogictest/Cargo.toml
+++ b/datafusion/sqllogictest/Cargo.toml
@@ -34,8 +34,8 @@ path = "src/lib.rs"
arrow = {workspace = true}
async-trait = "0.1.41"
bigdecimal = "0.4.1"
-datafusion = {path = "../core", version = "29.0.0"}
-datafusion-common = {path = "../common", version = "29.0.0"}
+datafusion = {path = "../core", version = "30.0.0"}
+datafusion-common = {path = "../common", version = "30.0.0"}
half = "2.2.1"
itertools = "0.11"
lazy_static = {version = "^1.4.0"}
diff --git a/datafusion/substrait/Cargo.toml b/datafusion/substrait/Cargo.toml
index 3e565680e2..f1c4f3755b 100644
--- a/datafusion/substrait/Cargo.toml
+++ b/datafusion/substrait/Cargo.toml
@@ -30,7 +30,7 @@ rust-version = "1.70"
[dependencies]
async-recursion = "1.0"
chrono = { version = "0.4.23", default-features = false }
-datafusion = { version = "29.0.0", path = "../core" }
+datafusion = { version = "30.0.0", path = "../core" }
itertools = "0.11"
object_store = "0.6.1"
prost = "0.11"
diff --git a/dev/changelog/30.0.0.md b/dev/changelog/30.0.0.md
new file mode 100644
index 0000000000..e713555497
--- /dev/null
+++ b/dev/changelog/30.0.0.md
@@ -0,0 +1,83 @@
+<!---
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+## [30.0.0](https://github.com/apache/arrow-datafusion/tree/30.0.0) (2023-08-22)
+
+[Full Changelog](https://github.com/apache/arrow-datafusion/compare/29.0.0...30.0.0)
+
+**Implemented enhancements:**
+
+- feat: Add support for PostgreSQL bitwise XOR operator [#7256](https://github.com/apache/arrow-datafusion/pull/7256) (jonahgao)
+
+**Fixed bugs:**
+
+- fix(functions): support `Dictionary` for string and int functions [#7262](https://github.com/apache/arrow-datafusion/pull/7262) (appletreeisyellow)
+- fix: CLI should support different sql dialects [#7263](https://github.com/apache/arrow-datafusion/pull/7263) (jonahgao)
+- fix: build_timestamp_list data type mismatch [#7267](https://github.com/apache/arrow-datafusion/pull/7267) (yukkit)
+
+**Documentation updates:**
+
+- Minor: Remove stubbed out redundant Execution Plan section of library user guide [#7309](https://github.com/apache/arrow-datafusion/pull/7309) (alamb)
+
+**Merged pull requests:**
+
+- chore(functions): fix function names typo [#7269](https://github.com/apache/arrow-datafusion/pull/7269) (appletreeisyellow)
+- fix(functions): support `Dictionary` for string and int functions [#7262](https://github.com/apache/arrow-datafusion/pull/7262) (appletreeisyellow)
+- Change benefits_from_partitioning flag to vector [#7247](https://github.com/apache/arrow-datafusion/pull/7247) (mustafasrepo)
+- fix: CLI should support different sql dialects [#7263](https://github.com/apache/arrow-datafusion/pull/7263) (jonahgao)
+- fix: build_timestamp_list data type mismatch [#7267](https://github.com/apache/arrow-datafusion/pull/7267) (yukkit)
+- feat: Add support for PostgreSQL bitwise XOR operator [#7256](https://github.com/apache/arrow-datafusion/pull/7256) (jonahgao)
+- Improve error message for aggregate/window functions [#7265](https://github.com/apache/arrow-datafusion/pull/7265) (2010YOUY01)
+- Extend insert into to support Parquet backed tables [#7244](https://github.com/apache/arrow-datafusion/pull/7244) (devinjdangelo)
+- Operators documentation [#7264](https://github.com/apache/arrow-datafusion/pull/7264) (spaydar)
+- Minor: Add upstream ticket reference in comments [#7275](https://github.com/apache/arrow-datafusion/pull/7275) (alamb)
+- Add parquet-filter and sort benchmarks to dfbench [#7120](https://github.com/apache/arrow-datafusion/pull/7120) (alamb)
+- Allow `skip_failed_rules` to skip buggy logical plan rules that have a schema mismatch [#7277](https://github.com/apache/arrow-datafusion/pull/7277) (smiklos)
+- Enable creating and inserting to empty external tables via SQL [#7276](https://github.com/apache/arrow-datafusion/pull/7276) (devinjdangelo)
+- Prepare 29.0.0 Release [#7270](https://github.com/apache/arrow-datafusion/pull/7270) (andygrove)
+- Hotfix: Test in information_schema.slt fails [#7286](https://github.com/apache/arrow-datafusion/pull/7286) (sarutak)
+- Move sqllogictests to sqllogictests crate to break cyclic dependency [#7284](https://github.com/apache/arrow-datafusion/pull/7284) (alamb)
+- Add isnan and iszero [#7274](https://github.com/apache/arrow-datafusion/pull/7274) (sarutak)
+- Add library guide for table provider and catalog providers [#7287](https://github.com/apache/arrow-datafusion/pull/7287) (tshauck)
+- Implement Support for Copy To Logical and Physical plans [#7283](https://github.com/apache/arrow-datafusion/pull/7283) (devinjdangelo)
+- Add `internal_err!` error macro [#7293](https://github.com/apache/arrow-datafusion/pull/7293) (comphead)
+- refactor: data types in `array_expressions` [#7280](https://github.com/apache/arrow-datafusion/pull/7280) (izveigor)
+- Fix Unnest for array aggregations. [#7300](https://github.com/apache/arrow-datafusion/pull/7300) (vincev)
+- Minor: Followup tasks for `nanvl` [#7311](https://github.com/apache/arrow-datafusion/pull/7311) (sarutak)
+- Minor: Remove stubbed out redundant Execution Plan section of library user guide [#7309](https://github.com/apache/arrow-datafusion/pull/7309) (alamb)
+- Minor: fix some parquet writer session level defaults [#7295](https://github.com/apache/arrow-datafusion/pull/7295) (devinjdangelo)
+- Add Sqllogictests for INSERT INTO external table [#7294](https://github.com/apache/arrow-datafusion/pull/7294) (devinjdangelo)
+- Minor: Fix documentation typos for array expressions [#7314](https://github.com/apache/arrow-datafusion/pull/7314) (Weijun-H)
+- Qualify filter fields in the update plan [#7316](https://github.com/apache/arrow-datafusion/pull/7316) (gruuya)
+- chore(deps): update tokio requirement to 1.28 [#7324](https://github.com/apache/arrow-datafusion/pull/7324) (jonahgao)
+- Bug-fix / Join Output Orderings [#7296](https://github.com/apache/arrow-datafusion/pull/7296) (berkaysynnada)
+- Add `internal_err` error macros. Part 2 [#7321](https://github.com/apache/arrow-datafusion/pull/7321) (comphead)
+- Minor: Improve doc comments to datafusion-sql [#7318](https://github.com/apache/arrow-datafusion/pull/7318) (alamb)
+- Minor: make memory_limit tests more self describing [#7190](https://github.com/apache/arrow-datafusion/pull/7190) (alamb)
+- Minor: Improve docstrings for `LogicalPlan` [#7331](https://github.com/apache/arrow-datafusion/pull/7331) (alamb)
+- minor: fix doc/typo [#7341](https://github.com/apache/arrow-datafusion/pull/7341) (jackwener)
+- Minor: Extract `FileScanConfig` into its own module [#7335](https://github.com/apache/arrow-datafusion/pull/7335) (alamb)
+- Minor: Move shared testing code into datafusion_common [#7334](https://github.com/apache/arrow-datafusion/pull/7334) (alamb)
+- refine: `substr` error [#7339](https://github.com/apache/arrow-datafusion/pull/7339) (Weijun-H)
+- Add `not_impl_err` error macro [#7340](https://github.com/apache/arrow-datafusion/pull/7340) (comphead)
+- chore: public sql_statement_to_plan_with_context() [#7268](https://github.com/apache/arrow-datafusion/pull/7268) (waynexia)
+- Deprecate ScalarValue bitor, bitand, and bitxor (#6842) [#7351](https://github.com/apache/arrow-datafusion/pull/7351) (tustvold)
+- feature: Support `EXPLAIN COPY` [#7291](https://github.com/apache/arrow-datafusion/pull/7291) (alamb)
+- Add `SQLOptions` for controlling allowed SQL statements, update docs [#7333](https://github.com/apache/arrow-datafusion/pull/7333) (alamb)
+- Refactor: Consolidate OutputFileFormat and FileType into datafusion_common [#7336](https://github.com/apache/arrow-datafusion/pull/7336) (devinjdangelo)
diff --git a/docs/source/user-guide/configs.md b/docs/source/user-guide/configs.md
index a81bece2b5..0d3abeac9f 100644
--- a/docs/source/user-guide/configs.md
+++ b/docs/source/user-guide/configs.md
@@ -64,7 +64,7 @@ Environment variables are read during `SessionConfig` initialisation so they mus
| datafusion.execution.parquet.statistics_enabled | NULL | Sets if statistics are enabled for any column Valid values are: "none", "chunk", and "page" These values are not case sensitive. If NULL, uses default parquet writer setting |
| datafusion.execution.parquet.max_statistics_size | NULL | Sets max statistics size for any column. If NULL, uses default parquet writer setting |
| datafusion.execution.parquet.max_row_group_size | 1048576 | Sets maximum number of rows in a row group |
-| datafusion.execution.parquet.created_by | datafusion version 29.0.0 | Sets "created by" property |
+| datafusion.execution.parquet.created_by | datafusion version 30.0.0 | Sets "created by" property |
| datafusion.execution.parquet.column_index_truncate_length | NULL | Sets column index trucate length |
| datafusion.execution.parquet.data_page_row_count_limit | 18446744073709551615 | Sets best effort maximum number of rows in data page |
| datafusion.execution.parquet.encoding | NULL | Sets default encoding for any column Valid values are: plain, plain_dictionary, rle, bit_packed, delta_binary_packed, delta_length_byte_array, delta_byte_array, rle_dictionary, and byte_stream_split. These values are not case sensitive. If NULL, uses default parquet writer setting |