Apache DataFusion SQL Query Engine
Prepare for 26.0.0 release (#6533)
Andy Grove92ccb4ca3297
diff --git a/Cargo.toml b/Cargo.tomlindex 12993eda0f..a2885d6cfc 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -35,7 +35,7 @@ members = [][workspace.package]-version = "25.0.0"+version = "26.0.0"edition = "2021"readme = "README.md"authors = ["Apache Arrow <[email protected]>"]diff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.tomlindex 09fe033e72..0ccb4fb84a 100644--- a/benchmarks/Cargo.toml+++ b/benchmarks/Cargo.toml@@ -18,7 +18,7 @@[package]name = "datafusion-benchmarks"description = "DataFusion Benchmarks"-version = "25.0.0"+version = "26.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 = "25.0.0" }+datafusion = { path = "../datafusion/core", version = "26.0.0" }env_logger = "0.10"futures = "0.3"mimalloc = { version = "0.1", optional = true, default-features = false }@@ -48,4 +48,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 = "25.0.0" }+datafusion-proto = { path = "../datafusion/proto", version = "26.0.0" }diff --git a/datafusion-cli/Cargo.lock b/datafusion-cli/Cargo.lockindex db1ead15e8..a3b1de63c7 100644--- a/datafusion-cli/Cargo.lock+++ b/datafusion-cli/Cargo.lock@@ -45,6 +45,12 @@ dependencies = ["alloc-no-stdlib",]+[[package]]+name = "android-tzdata"+version = "0.1.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"+[[package]]name = "android_system_properties"version = "0.1.5"@@ -302,7 +308,7 @@ checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842"dependencies = ["proc-macro2","quote",- "syn 2.0.17",+ "syn 2.0.18",][[package]]@@ -749,12 +755,12 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"[[package]]name = "chrono"-version = "0.4.24"+version = "0.4.26"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "4e3c5919066adf22df73762e50cffcde3a758f2a848b113b586d1f86728b673b"+checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5"dependencies = [+ "android-tzdata","iana-time-zone",- "num-integer","num-traits","serde","winapi",@@ -834,9 +840,9 @@ dependencies = [[[package]]name = "comfy-table"-version = "6.1.4"+version = "6.2.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "6e7b787b0dc42e8111badfdbe4c3059158ccb2db8780352fa1b01e8ccf45cc4d"+checksum = "7e959d788268e3bf9d35ace83e81b124190378e4c91c9067524675e33394b8ba"dependencies = ["strum","strum_macros",@@ -923,9 +929,9 @@ dependencies = [[[package]]name = "csv"-version = "1.2.1"+version = "1.2.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "0b015497079b9a9d69c02ad25de6c0a6edef051ea6360a327d0bd05802ef64ad"+checksum = "626ae34994d3d8d668f4269922248239db4ae42d538b14c398b74a52208e8086"dependencies = ["csv-core","itoa",@@ -957,7 +963,7 @@ dependencies = [[[package]]name = "datafusion"-version = "25.0.0"+version = "26.0.0"dependencies = ["ahash","arrow",@@ -1005,7 +1011,7 @@ dependencies = [[[package]]name = "datafusion-cli"-version = "25.0.0"+version = "26.0.0"dependencies = ["arrow","async-trait",@@ -1023,7 +1029,7 @@ dependencies = [[[package]]name = "datafusion-common"-version = "25.0.0"+version = "26.0.0"dependencies = ["arrow","arrow-array",@@ -1036,7 +1042,7 @@ dependencies = [[[package]]name = "datafusion-execution"-version = "25.0.0"+version = "26.0.0"dependencies = ["dashmap","datafusion-common",@@ -1052,7 +1058,7 @@ dependencies = [[[package]]name = "datafusion-expr"-version = "25.0.0"+version = "26.0.0"dependencies = ["ahash","arrow",@@ -1065,7 +1071,7 @@ dependencies = [[[package]]name = "datafusion-optimizer"-version = "25.0.0"+version = "26.0.0"dependencies = ["arrow","async-trait",@@ -1081,7 +1087,7 @@ dependencies = [[[package]]name = "datafusion-physical-expr"-version = "25.0.0"+version = "26.0.0"dependencies = ["ahash","arrow",@@ -1112,7 +1118,7 @@ dependencies = [[[package]]name = "datafusion-row"-version = "25.0.0"+version = "26.0.0"dependencies = ["arrow","datafusion-common",@@ -1122,7 +1128,7 @@ dependencies = [[[package]]name = "datafusion-sql"-version = "25.0.0"+version = "26.0.0"dependencies = ["arrow","arrow-schema",@@ -1372,7 +1378,7 @@ checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72"dependencies = ["proc-macro2","quote",- "syn 2.0.17",+ "syn 2.0.18",][[package]]@@ -1831,12 +1837,9 @@ dependencies = [[[package]]name = "log"-version = "0.4.17"+version = "0.4.18"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"-dependencies = [- "cfg-if",-]+checksum = "518ef76f2f87365916b142844c16d8fefd85039bc5699050210a7778ee1cd1de"[[package]]name = "lz4"@@ -1910,14 +1913,13 @@ dependencies = [[[package]]name = "mio"-version = "0.8.6"+version = "0.8.8"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "5b9d9a46eff5b4ff64b45a9e316a6d1e0bc719ef429cbec4dc630684212bfdf9"+checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2"dependencies = ["libc",- "log","wasi",- "windows-sys 0.45.0",+ "windows-sys 0.48.0",][[package]]@@ -2061,9 +2063,9 @@ dependencies = [[[package]]name = "once_cell"-version = "1.17.1"+version = "1.17.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3"+checksum = "9670a07f94779e00908f3e686eab508878ebb390ba6e604d3a284c00e8d0487b"[[package]]name = "openssl-probe"@@ -2235,7 +2237,7 @@ checksum = "39407670928234ebc5e6e580247dd567ad73a3578460c5990f9503df207e8f07"dependencies = ["proc-macro2","quote",- "syn 2.0.17",+ "syn 2.0.18",][[package]]@@ -2661,7 +2663,7 @@ checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e"dependencies = ["proc-macro2","quote",- "syn 2.0.17",+ "syn 2.0.18",][[package]]@@ -2843,9 +2845,9 @@ dependencies = [[[package]]name = "syn"-version = "2.0.17"+version = "2.0.18"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "45b6ddbb36c5b969c182aec3c4a0bce7df3fbad4b77114706a49aacc80567388"+checksum = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e"dependencies = ["proc-macro2","quote",@@ -2897,7 +2899,7 @@ checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f"dependencies = ["proc-macro2","quote",- "syn 2.0.17",+ "syn 2.0.18",][[package]]@@ -2963,9 +2965,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"[[package]]name = "tokio"-version = "1.28.1"+version = "1.28.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "0aa32867d44e6f2ce3385e89dceb990188b8bb0fb25b0cf576647a6f98ac5105"+checksum = "94d7b1cfd2aa4011f2de74c2c4c63665e27a71006b0a192dcd2710272e73dfa2"dependencies = ["autocfg","bytes",@@ -2987,7 +2989,7 @@ checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e"dependencies = ["proc-macro2","quote",- "syn 2.0.17",+ "syn 2.0.18",][[package]]@@ -3085,7 +3087,7 @@ checksum = "0f57e3ca2a01450b1a921183a9c9cbfda207fd822cef4ccb00a65402cbba7a74"dependencies = ["proc-macro2","quote",- "syn 2.0.17",+ "syn 2.0.18",][[package]]@@ -3249,7 +3251,7 @@ dependencies = ["once_cell","proc-macro2","quote",- "syn 2.0.17",+ "syn 2.0.18","wasm-bindgen-shared",]@@ -3283,7 +3285,7 @@ checksum = "e128beba882dd1eb6200e1dc92ae6c5dbaa4311aa7bb211ca035779e5efc39f8"dependencies = ["proc-macro2","quote",- "syn 2.0.17",+ "syn 2.0.18","wasm-bindgen-backend","wasm-bindgen-shared",]diff --git a/datafusion-cli/Cargo.toml b/datafusion-cli/Cargo.tomlindex 77d84468f9..16d5e02324 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 = "25.0.0"+version = "26.0.0"authors = ["Apache Arrow <[email protected]>"]edition = "2021"keywords = ["arrow", "datafusion", "query", "sql"]@@ -32,7 +32,7 @@ readme = "README.md"arrow = "40.0.0"async-trait = "0.1.41"clap = { version = "3", features = ["derive", "cargo"] }-datafusion = { path = "../datafusion/core", version = "25.0.0" }+datafusion = { path = "../datafusion/core", version = "26.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.mdindex ca7b3c6a0c..8235ab0cf3 100644--- a/datafusion/CHANGELOG.md+++ b/datafusion/CHANGELOG.md@@ -19,6 +19,7 @@# Changelog+- [26.0.0](../dev/changelog/26.0.0.md)- [25.0.0](../dev/changelog/25.0.0.md)- [24.0.0](../dev/changelog/24.0.0.md)- [23.0.0](../dev/changelog/23.0.0.md)diff --git a/datafusion/core/Cargo.toml b/datafusion/core/Cargo.tomlindex f3275a28fe..afdb755939 100644--- a/datafusion/core/Cargo.toml+++ b/datafusion/core/Cargo.toml@@ -61,13 +61,13 @@ 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 = "25.0.0", features = ["parquet", "object_store"] }-datafusion-execution = { path = "../execution", version = "25.0.0" }-datafusion-expr = { path = "../expr", version = "25.0.0" }-datafusion-optimizer = { path = "../optimizer", version = "25.0.0", default-features = false }-datafusion-physical-expr = { path = "../physical-expr", version = "25.0.0", default-features = false }-datafusion-row = { path = "../row", version = "25.0.0" }-datafusion-sql = { path = "../sql", version = "25.0.0" }+datafusion-common = { path = "../common", version = "26.0.0", features = ["parquet", "object_store"] }+datafusion-execution = { path = "../execution", version = "26.0.0" }+datafusion-expr = { path = "../expr", version = "26.0.0" }+datafusion-optimizer = { path = "../optimizer", version = "26.0.0", default-features = false }+datafusion-physical-expr = { path = "../physical-expr", version = "26.0.0", default-features = false }+datafusion-row = { path = "../row", version = "26.0.0" }+datafusion-sql = { path = "../sql", version = "26.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.tomlindex 55a7c29974..2f8656df09 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 = "25.0.0" }-datafusion-expr = { path = "../expr", version = "25.0.0" }+datafusion-common = { path = "../common", version = "26.0.0" }+datafusion-expr = { path = "../expr", version = "26.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.tomlindex 52a31db485..76b3ef136e 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 = "25.0.0" }+datafusion-common = { path = "../common", version = "26.0.0" }lazy_static = { version = "^1.4.0" }sqlparser = "0.34"strum = { version = "0.24", features = ["derive"] }diff --git a/datafusion/optimizer/Cargo.toml b/datafusion/optimizer/Cargo.tomlindex 8efbbb271c..8eb8027362 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 = "25.0.0" }-datafusion-expr = { path = "../expr", version = "25.0.0" }-datafusion-physical-expr = { path = "../physical-expr", version = "25.0.0", default-features = false }+datafusion-common = { path = "../common", version = "26.0.0" }+datafusion-expr = { path = "../expr", version = "26.0.0" }+datafusion-physical-expr = { path = "../physical-expr", version = "26.0.0", default-features = false }hashbrown = { version = "0.13", features = ["raw"] }itertools = "0.10"log = "^0.4"@@ -53,5 +53,5 @@ regex-syntax = "0.7.1"[dev-dependencies]ctor = "0.2.0"-datafusion-sql = { path = "../sql", version = "25.0.0" }+datafusion-sql = { path = "../sql", version = "26.0.0" }env_logger = "0.10.0"diff --git a/datafusion/physical-expr/Cargo.toml b/datafusion/physical-expr/Cargo.tomlindex bf0b0a9f19..b1ba5c5df7 100644--- a/datafusion/physical-expr/Cargo.toml+++ b/datafusion/physical-expr/Cargo.toml@@ -50,9 +50,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 = "25.0.0" }-datafusion-expr = { path = "../expr", version = "25.0.0" }-datafusion-row = { path = "../row", version = "25.0.0" }+datafusion-common = { path = "../common", version = "26.0.0" }+datafusion-expr = { path = "../expr", version = "26.0.0" }+datafusion-row = { path = "../row", version = "26.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.tomlindex 3d608883aa..c3f5227883 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 = "25.0.0" }-datafusion-common = { path = "../common", version = "25.0.0" }-datafusion-expr = { path = "../expr", version = "25.0.0" }+datafusion = { path = "../core", version = "26.0.0" }+datafusion-common = { path = "../common", version = "26.0.0" }+datafusion-expr = { path = "../expr", version = "26.0.0" }object_store = { version = "0.5.4" }pbjson = { version = "0.5", optional = true }prost = "0.11.0"diff --git a/datafusion/row/Cargo.toml b/datafusion/row/Cargo.tomlindex 800547ff5c..73ad9c2874 100644--- a/datafusion/row/Cargo.toml+++ b/datafusion/row/Cargo.toml@@ -34,6 +34,6 @@ path = "src/lib.rs"[dependencies]arrow = { workspace = true }-datafusion-common = { path = "../common", version = "25.0.0" }+datafusion-common = { path = "../common", version = "26.0.0" }paste = "^1.0"rand = "0.8"diff --git a/datafusion/sql/Cargo.toml b/datafusion/sql/Cargo.tomlindex ffefe89440..af49b0cba3 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 = "25.0.0" }-datafusion-expr = { path = "../expr", version = "25.0.0" }+datafusion-common = { path = "../common", version = "26.0.0" }+datafusion-expr = { path = "../expr", version = "26.0.0" }log = "^0.4"sqlparser = "0.34"diff --git a/datafusion/substrait/Cargo.toml b/datafusion/substrait/Cargo.tomlindex 45ca047ede..8a20d5d20f 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 = { version = "0.4.23", default-features = false }-datafusion = { version = "25.0.0", path = "../core" }+datafusion = { version = "26.0.0", path = "../core" }itertools = "0.10.5"object_store = "0.5.4"prost = "0.11"diff --git a/dev/changelog/26.0.0.md b/dev/changelog/26.0.0.mdnew file mode 100644index 0000000000..3e5e210cda--- /dev/null+++ b/dev/changelog/26.0.0.md@@ -0,0 +1,116 @@+<!---+ 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.+-->++## [26.0.0](https://github.com/apache/arrow-datafusion/tree/26.0.0) (2023-06-02)++[Full Changelog](https://github.com/apache/arrow-datafusion/compare/25.0.0...26.0.0)++**Breaking changes:**++- feat: implement serialize/deserialize for extension logical plan [#6378](https://github.com/apache/arrow-datafusion/pull/6378) (waynexia)+- Use `std::ops` traits for `Exprs` rather than custom function names [#6465](https://github.com/apache/arrow-datafusion/pull/6465) (LouisGariepy)+- Support Defining Ordering Equivalence at the Source [#6469](https://github.com/apache/arrow-datafusion/pull/6469) (berkaysynnada)++**Implemented enhancements:**++- feat: support type cast in SchemaAdapter [#6404](https://github.com/apache/arrow-datafusion/pull/6404) (e1ijah1)+- feat: eliminate useless join | convert inner to outer when condition is true [#6443](https://github.com/apache/arrow-datafusion/pull/6443) (jackwener)+- feat: datafusion-cli support executes sql with escaped characters [#6498](https://github.com/apache/arrow-datafusion/pull/6498) (r4ntix)+- feat: fix docs [#6534](https://github.com/apache/arrow-datafusion/pull/6534) (Folyd)++**Fixed bugs:**++- fix: error instead of panic when date_bin interval is 0 [#6522](https://github.com/apache/arrow-datafusion/pull/6522) (NGA-TRAN)++**Documentation updates:**++- User guide lists window functions [#6402](https://github.com/apache/arrow-datafusion/pull/6402) (toppyy)+- Improve getting started guide, add note about compatible `arrow` versions [#6472](https://github.com/apache/arrow-datafusion/pull/6472) (alamb)+- Add link to Python Bindings in top-level README [#6532](https://github.com/apache/arrow-datafusion/pull/6532) (andygrove)++**Merged pull requests:**++- Minor: Update docs with extended file format support [#6356](https://github.com/apache/arrow-datafusion/pull/6356) (alamb)+- chore(deps): update async-compression requirement from 0.3.14 to 0.4.0 [#6336](https://github.com/apache/arrow-datafusion/pull/6336) (dependabot[bot])+- INSERT returns number of rows written, add `InsertExec` to handle common case. [#6354](https://github.com/apache/arrow-datafusion/pull/6354) (alamb)+- Minor: used named constant for the schema inference concurrency limit [#6389](https://github.com/apache/arrow-datafusion/pull/6389) (alamb)+- Prepare for 25.0.0 Release [#6390](https://github.com/apache/arrow-datafusion/pull/6390) (andygrove)+- minor: Add Python script for generating changelog content [#6391](https://github.com/apache/arrow-datafusion/pull/6391) (andygrove)+- Support is [not] distinct from for binaryarray types [#6394](https://github.com/apache/arrow-datafusion/pull/6394) (Dandandan)+- Minor: Improve documentation of `MemoryPool` [#6388](https://github.com/apache/arrow-datafusion/pull/6388) (alamb)+- More scalar subqueries support [#6372](https://github.com/apache/arrow-datafusion/pull/6372) (mingmwang)+- feat: support type cast in SchemaAdapter [#6404](https://github.com/apache/arrow-datafusion/pull/6404) (e1ijah1)+- Update arrow 40 [#6412](https://github.com/apache/arrow-datafusion/pull/6412) (tustvold)+- feat: implement serialize/deserialize for extension logical plan [#6378](https://github.com/apache/arrow-datafusion/pull/6378) (waynexia)+- Do not run avro sqllogictests tests unless the avro feature is enabled [#6429](https://github.com/apache/arrow-datafusion/pull/6429) (alamb)+- chore(deps): update sqlparser requirement from 0.33 to 0.34 [#6416](https://github.com/apache/arrow-datafusion/pull/6416) (alamb)+- run tests with avro enabled when verifying a release candidate [#6401](https://github.com/apache/arrow-datafusion/pull/6401) (andygrove)+- Minor: remove unecessary cranelift dependency [#6430](https://github.com/apache/arrow-datafusion/pull/6430) (alamb)+- Improve error message for wrong built-in scalar function signatures. [#6415](https://github.com/apache/arrow-datafusion/pull/6415) (2010YOUY01)+- refactor: split `CommonSubexprEliminate::try_optimize` [#6348](https://github.com/apache/arrow-datafusion/pull/6348) (crepererum)+- chore(deps): update criterion requirement from 0.4 to 0.5 [#6434](https://github.com/apache/arrow-datafusion/pull/6434) (dependabot[bot])+- Fix UNION ALL aliasing with more complex queries [#6417](https://github.com/apache/arrow-datafusion/pull/6417) (comphead)+- Reduce output when `sqllogictest` runs successfully, and run tests in parallel [#6393](https://github.com/apache/arrow-datafusion/pull/6393) (alamb)+- Named window support [#6419](https://github.com/apache/arrow-datafusion/pull/6419) (berkaysynnada)+- Lexicographical Ordering Equivalence Support [#6431](https://github.com/apache/arrow-datafusion/pull/6431) (mustafasrepo)+- Fix Select Into with Order By and Limit [#6442](https://github.com/apache/arrow-datafusion/pull/6442) (berkaysynnada)+- Fix typo in faq.md [#6451](https://github.com/apache/arrow-datafusion/pull/6451) (haoxins)+- Skip casting result array for binary numerical operators result between array and scalar if possible [#6438](https://github.com/apache/arrow-datafusion/pull/6438) (viirya)+- Minor fix for the Debug of FileScanConfig [#6454](https://github.com/apache/arrow-datafusion/pull/6454) (yahoNanJing)+- Improve Display for BuiltinScalarFunction [#6448](https://github.com/apache/arrow-datafusion/pull/6448) (2010YOUY01)+- Fix wrong benchmark column names in `compare.py` after the last refactor [#6459](https://github.com/apache/arrow-datafusion/pull/6459) (nvartolomei)+- Minor: remove dead code `sort_expr_list_eq_strict_order` [#6460](https://github.com/apache/arrow-datafusion/pull/6460) (alamb)+- feat: eliminate useless join | convert inner to outer when condition is true [#6443](https://github.com/apache/arrow-datafusion/pull/6443) (jackwener)+- Minor add more docs to equivalence class code [#6461](https://github.com/apache/arrow-datafusion/pull/6461) (alamb)+- Add support for FIRST_VALUE, LAST_VALUE Aggregate Functions [#6445](https://github.com/apache/arrow-datafusion/pull/6445) (mustafasrepo)+- Ordering Equivalence Builder [#6452](https://github.com/apache/arrow-datafusion/pull/6452) (mustafasrepo)+- Fix protobuf install command for Fedora Linux. [#6466](https://github.com/apache/arrow-datafusion/pull/6466) (LouisGariepy)+- Continue PR 4757 [#6456](https://github.com/apache/arrow-datafusion/pull/6456) (yahoNanJing)+- minor: Use parse_multipart_identifier from sqlparser [#6467](https://github.com/apache/arrow-datafusion/pull/6467) (Jefffrey)+- User guide lists window functions [#6402](https://github.com/apache/arrow-datafusion/pull/6402) (toppyy)+- minor: fix comment docs [#6473](https://github.com/apache/arrow-datafusion/pull/6473) (Folyd)+- Clippy lints [#6464](https://github.com/apache/arrow-datafusion/pull/6464) (LouisGariepy)+- Use `std::ops` traits for `Exprs` rather than custom function names [#6465](https://github.com/apache/arrow-datafusion/pull/6465) (LouisGariepy)+- Refactor temporal arithmetic [#6433](https://github.com/apache/arrow-datafusion/pull/6433) (berkaysynnada)+- Fix case evaluation with NULL [#6477](https://github.com/apache/arrow-datafusion/pull/6477) (byteink)+- Substrait: Support Expr::ScalarFunction [#6471](https://github.com/apache/arrow-datafusion/pull/6471) (jayzhan211)+- Support Defining Ordering Equivalence at the Source [#6469](https://github.com/apache/arrow-datafusion/pull/6469) (berkaysynnada)+- Improve getting started guide, add note about compatible `arrow` versions [#6472](https://github.com/apache/arrow-datafusion/pull/6472) (alamb)+- Add tpch test cases with data. [#6435](https://github.com/apache/arrow-datafusion/pull/6435) (liurenjie1024)+- Minor: Improve the tpch sqllogictest docs [#6493](https://github.com/apache/arrow-datafusion/pull/6493) (alamb)+- reduce search complexity for BuiltinScalarFunction [#6479](https://github.com/apache/arrow-datafusion/pull/6479) (comphead)+- Fix builds fail with error: symbol `init___rust_ctor___ctor` is already defined #6495 [#6505](https://github.com/apache/arrow-datafusion/pull/6505) (alamb)+- Don't optimize AnalyzeExec (#6379) (try 2) [#6494](https://github.com/apache/arrow-datafusion/pull/6494) (alamb)+- Rewrite large OR chains as IN lists [#6414](https://github.com/apache/arrow-datafusion/pull/6414) (aprimadi)+- Add SELECT _ EXCLUDE, SELECT _ EXCEPT support [#6481](https://github.com/apache/arrow-datafusion/pull/6481) (mustafasrepo)+- Bug fix, First accumulator multiple batch aware [#6503](https://github.com/apache/arrow-datafusion/pull/6503) (mustafasrepo)+- Make `FileStream` error handling configurable [#6491](https://github.com/apache/arrow-datafusion/pull/6491) (thinkharderdev)+- Minimize clone in OrInListSimplifier [#6509](https://github.com/apache/arrow-datafusion/pull/6509) (aprimadi)+- Add serde for `DROP VIEW` [#6499](https://github.com/apache/arrow-datafusion/pull/6499) (Dandandan)+- Support simplifying expressions like `~ ^(bar|foo)$` [#6487](https://github.com/apache/arrow-datafusion/pull/6487) (tanruixiang)+- minor: make window frame error messages more consistent [#6519](https://github.com/apache/arrow-datafusion/pull/6519) (comphead)+- Minor: Clean up `use`s to point at real crates [#6515](https://github.com/apache/arrow-datafusion/pull/6515) (alamb)+- Standardize `RUST_LOG` configuration test setup [#6506](https://github.com/apache/arrow-datafusion/pull/6506) (alamb)+- Fix new clippy lint [#6535](https://github.com/apache/arrow-datafusion/pull/6535) (alamb)+- feat: datafusion-cli support executes sql with escaped characters [#6498](https://github.com/apache/arrow-datafusion/pull/6498) (r4ntix)+- Minor: Add EXCEPT/EXCLUDE to SQL guide [#6512](https://github.com/apache/arrow-datafusion/pull/6512) (alamb)+- fix: error instead of panic when date_bin interval is 0 [#6522](https://github.com/apache/arrow-datafusion/pull/6522) (NGA-TRAN)+- Add link to Python Bindings in top-level README [#6532](https://github.com/apache/arrow-datafusion/pull/6532) (andygrove)+- feat: fix docs [#6534](https://github.com/apache/arrow-datafusion/pull/6534) (Folyd)+- Resolve contradictory requirements by conversion of ordering sensitive aggregators [#6482](https://github.com/apache/arrow-datafusion/pull/6482) (mustafasrepo)diff --git a/dev/release/README.md b/dev/release/README.mdindex 48a54a64df..ac18063236 100644--- a/dev/release/README.md+++ b/dev/release/README.md@@ -78,7 +78,17 @@ PyPI.We maintain a `CHANGELOG.md` so our users know what has been changed between releases.-The changelog is generated using a Python script:+You will need a GitHub Personal Access Token for the following steps. Follow+[these instructions](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)+to generate one if you do not already have one.++The changelog is generated using a Python script. There is a depency on `PyGitHub`, which can be installed using pip:++```bash+pip3 install PyGitHub+```++Run the following command to generate the changelog content.```bash$ GITHUB_TOKEN=<TOKEN> ./dev/release/generate-changelog.py apache/arrow-datafusion 24.0.0 HEAD > dev/changelog/25.0.0.md@@ -136,34 +146,6 @@ Lastly commit the version change:git commit -a -m 'Update version'```-### Update CHANGELOG.md--Define release branch (e.g. `main`), base version tag (e.g. `7.0.0`) and future version tag (e.g. `8.0.0`). Commits between the base version tag and the release branch will be used to-populate the changelog content.--You will need a GitHub Personal Access Token for the following steps. Follow-[these instructions](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)-to generate one if you do not already have one.--```bash-# create the changelog-CHANGELOG_GITHUB_TOKEN=<TOKEN> ./dev/release/update_change_log-datafusion.sh main 8.0.0 7.0.0-# review change log / edit issues and labels if needed, rerun until you are happy with the result-git commit -a -m 'Create changelog for release'-```--_If you see the error `"You have exceeded a secondary rate limit"` when running this script, try reducing the CPU-allocation to slow the process down and throttle the number of GitHub requests made per minute, by modifying the-value of the `--cpus` argument in the `update_change_log.sh` script._--You can add `invalid` or `development-process` label to exclude items from-release notes.--Send a PR to get these changes merged into `main` branch. If new commits that-could change the change log content landed in the `main` branch before you-could merge the PR, you need to rerun the changelog update script to regenerate-the changelog and update the PR accordingly.-## Prepare release candidate artifactsAfter the PR gets merged, you are ready to create release artifacts based off thediff --git a/dev/release/generate-changelog.py b/dev/release/generate-changelog.pyold mode 100644new mode 100755diff --git a/dev/release/update_change_log-datafusion.sh b/dev/release/update_change_log-datafusion.shdeleted file mode 100755index 0c5a9144ea..0000000000--- a/dev/release/update_change_log-datafusion.sh+++ /dev/null@@ -1,35 +0,0 @@-#!/bin/bash-#-# 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.-#--# Usage:-# CHANGELOG_GITHUB_TOKEN=<TOKEN> ./update_change_log-datafusion.sh main 8.0.0 7.1.0-# CHANGELOG_GITHUB_TOKEN=<TOKEN> ./update_change_log-datafusion.sh maint-7.x 7.1.0 7.0.0--RELEASE_BRANCH=$1-RELEASE_TAG=$2-BASE_TAG=$3--SOURCE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"-${SOURCE_DIR}/update_change_log.sh \- datafusion \- "${BASE_TAG}" \- --exclude-tags-regex "(python|ballista)-.+" \- --future-release "${RELEASE_TAG}" \- --release-branch "${RELEASE_BRANCH}"diff --git a/dev/release/update_change_log.sh b/dev/release/update_change_log.shdeleted file mode 100755index f899ed68e4..0000000000--- a/dev/release/update_change_log.sh+++ /dev/null@@ -1,93 +0,0 @@-#!/bin/bash-#-# 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.-#--# Adapted from https://github.com/apache/arrow-rs/tree/master/dev/release/update_change_log.sh--# invokes the changelog generator from-# https://github.com/github-changelog-generator/github-changelog-generator-#-# With the config located in-# arrow-datafusion/.github_changelog_generator-#-# Usage:-# CHANGELOG_GITHUB_TOKEN=<TOKEN> ./update_change_log.sh <PROJECT> <SINCE_TAG> <EXTRA_ARGS...>--set -e--SOURCE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"-SOURCE_TOP_DIR="$(cd "${SOURCE_DIR}/../../" && pwd)"--echo $1--if [[ "$#" -lt 2 ]]; then- echo "USAGE: $0 PROJECT SINCE_TAG EXTRA_ARGS..."- exit 1-fi--PROJECT=$1-SINCE_TAG=$2-shift 2--OUTPUT_PATH="${PROJECT}/CHANGELOG.md"--pushd ${SOURCE_TOP_DIR}--# reset content in changelog-git checkout "${SINCE_TAG}" "${OUTPUT_PATH}"-# remove license header so github-changelog-generator has a clean base to append-sed -i.bak '1,18d' "${OUTPUT_PATH}"--docker run -it --rm \- --cpus "0.1" \- -e CHANGELOG_GITHUB_TOKEN=$CHANGELOG_GITHUB_TOKEN \- -v "$(pwd)":/usr/local/src/your-app \- githubchangeloggenerator/github-changelog-generator \- --user apache \- --project arrow-datafusion \- --cache-file=.githubchangeloggenerator.cache \- --cache-log=.githubchangeloggenerator.cache.log \- --http-cache \- --since-tag "${SINCE_TAG}" \- --base "${OUTPUT_PATH}" \- --output "${OUTPUT_PATH}" \- "$@"--sed -i.bak "s/\\\n/\n\n/" "${OUTPUT_PATH}"--echo '<!---- 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.--->-' | cat - "${OUTPUT_PATH}" > "${OUTPUT_PATH}".tmp-mv "${OUTPUT_PATH}".tmp "${OUTPUT_PATH}"