Skip to content

Apache DataFusion SQL Query Engine

[main] Forward port `49.0.2` version and changelog (#17277) (#17287)

Andrew Lamb3f96c3f3fb56
diff --git a/Cargo.lock b/Cargo.lock
index 9564ca69ea..4e3b499d77 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1815,7 +1815,7 @@ dependencies = [
[[package]]
name = "datafusion"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"arrow-ipc",
@@ -1888,7 +1888,7 @@ dependencies = [
[[package]]
name = "datafusion-benchmarks"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"datafusion",
@@ -1914,7 +1914,7 @@ dependencies = [
[[package]]
name = "datafusion-catalog"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"async-trait",
@@ -1938,7 +1938,7 @@ dependencies = [
[[package]]
name = "datafusion-catalog-listing"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"async-trait",
@@ -1959,7 +1959,7 @@ dependencies = [
[[package]]
name = "datafusion-cli"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"assert_cmd",
@@ -1991,7 +1991,7 @@ dependencies = [
[[package]]
name = "datafusion-common"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"ahash 0.8.12",
"apache-avro",
@@ -2019,7 +2019,7 @@ dependencies = [
[[package]]
name = "datafusion-common-runtime"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"futures",
"log",
@@ -2028,7 +2028,7 @@ dependencies = [
[[package]]
name = "datafusion-datasource"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"async-compression",
@@ -2064,7 +2064,7 @@ dependencies = [
[[package]]
name = "datafusion-datasource-avro"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"apache-avro",
"arrow",
@@ -2089,7 +2089,7 @@ dependencies = [
[[package]]
name = "datafusion-datasource-csv"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"async-trait",
@@ -2112,7 +2112,7 @@ dependencies = [
[[package]]
name = "datafusion-datasource-json"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"async-trait",
@@ -2135,7 +2135,7 @@ dependencies = [
[[package]]
name = "datafusion-datasource-parquet"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"async-trait",
@@ -2168,11 +2168,11 @@ dependencies = [
[[package]]
name = "datafusion-doc"
-version = "49.0.1"
+version = "49.0.2"
[[package]]
name = "datafusion-examples"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"arrow-flight",
@@ -2206,7 +2206,7 @@ dependencies = [
[[package]]
name = "datafusion-execution"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"chrono",
@@ -2226,7 +2226,7 @@ dependencies = [
[[package]]
name = "datafusion-expr"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"async-trait",
@@ -2249,7 +2249,7 @@ dependencies = [
[[package]]
name = "datafusion-expr-common"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"datafusion-common",
@@ -2260,7 +2260,7 @@ dependencies = [
[[package]]
name = "datafusion-ffi"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"abi_stable",
"arrow",
@@ -2281,7 +2281,7 @@ dependencies = [
[[package]]
name = "datafusion-functions"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"arrow-buffer",
@@ -2310,7 +2310,7 @@ dependencies = [
[[package]]
name = "datafusion-functions-aggregate"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"ahash 0.8.12",
"arrow",
@@ -2331,7 +2331,7 @@ dependencies = [
[[package]]
name = "datafusion-functions-aggregate-common"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"ahash 0.8.12",
"arrow",
@@ -2344,7 +2344,7 @@ dependencies = [
[[package]]
name = "datafusion-functions-nested"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"arrow-ord",
@@ -2366,7 +2366,7 @@ dependencies = [
[[package]]
name = "datafusion-functions-table"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"async-trait",
@@ -2380,7 +2380,7 @@ dependencies = [
[[package]]
name = "datafusion-functions-window"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"datafusion-common",
@@ -2396,7 +2396,7 @@ dependencies = [
[[package]]
name = "datafusion-functions-window-common"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"datafusion-common",
"datafusion-physical-expr-common",
@@ -2404,7 +2404,7 @@ dependencies = [
[[package]]
name = "datafusion-macros"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"datafusion-expr",
"quote",
@@ -2413,7 +2413,7 @@ dependencies = [
[[package]]
name = "datafusion-optimizer"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"async-trait",
@@ -2440,7 +2440,7 @@ dependencies = [
[[package]]
name = "datafusion-physical-expr"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"ahash 0.8.12",
"arrow",
@@ -2465,7 +2465,7 @@ dependencies = [
[[package]]
name = "datafusion-physical-expr-adapter"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"datafusion-common",
@@ -2480,7 +2480,7 @@ dependencies = [
[[package]]
name = "datafusion-physical-expr-common"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"ahash 0.8.12",
"arrow",
@@ -2492,7 +2492,7 @@ dependencies = [
[[package]]
name = "datafusion-physical-optimizer"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"datafusion-common",
@@ -2513,7 +2513,7 @@ dependencies = [
[[package]]
name = "datafusion-physical-plan"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"ahash 0.8.12",
"arrow",
@@ -2550,7 +2550,7 @@ dependencies = [
[[package]]
name = "datafusion-proto"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"chrono",
@@ -2573,7 +2573,7 @@ dependencies = [
[[package]]
name = "datafusion-proto-common"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"datafusion-common",
@@ -2586,7 +2586,7 @@ dependencies = [
[[package]]
name = "datafusion-pruning"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"arrow-schema",
@@ -2605,7 +2605,7 @@ dependencies = [
[[package]]
name = "datafusion-session"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"async-trait",
@@ -2627,7 +2627,7 @@ dependencies = [
[[package]]
name = "datafusion-spark"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"chrono",
@@ -2648,7 +2648,7 @@ dependencies = [
[[package]]
name = "datafusion-sql"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"bigdecimal",
@@ -2672,7 +2672,7 @@ dependencies = [
[[package]]
name = "datafusion-sqllogictest"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"arrow",
"async-trait",
@@ -2706,7 +2706,7 @@ dependencies = [
[[package]]
name = "datafusion-substrait"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"async-recursion",
"async-trait",
@@ -2726,7 +2726,7 @@ dependencies = [
[[package]]
name = "datafusion-wasmtest"
-version = "49.0.1"
+version = "49.0.2"
dependencies = [
"chrono",
"console_error_panic_hook",
diff --git a/Cargo.toml b/Cargo.toml
index 931286f2ce..9c9ac32f95 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -78,7 +78,7 @@ repository = "https://github.com/apache/datafusion"
# Define Minimum Supported Rust Version (MSRV)
rust-version = "1.86.0"
# Define DataFusion version
-version = "49.0.1"
+version = "49.0.2"
[workspace.dependencies]
# We turn off default-features for some dependencies here so the workspaces which inherit them can
diff --git a/dev/changelog/49.0.2.md b/dev/changelog/49.0.2.md
new file mode 100644
index 0000000000..7e6fc3e7eb
--- /dev/null
+++ b/dev/changelog/49.0.2.md
@@ -0,0 +1,45 @@
+<!--
+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.
+-->
+
+# Apache DataFusion 49.0.2 Changelog
+
+This release consists of 3 commits from 3 contributors. See credits at the end of this changelog for more information.
+
+See the [upgrade guide](https://datafusion.apache.org/library-user-guide/upgrading.html) for information on how to upgrade from previous versions.
+
+**Fixed bugs:**
+
+- fix: align `array_has` null buffer for scalar (#17272) [#17274](https://github.com/apache/datafusion/pull/17274) (comphead)
+
+**Other:**
+
+- [branch-49] Backport fix: deserialization error for FilterExec (predicates with inlist) [#17254](https://github.com/apache/datafusion/pull/17254) (haohuaijin)
+- [branch-49] FFI_RecordBatchStream was causing a memory leak (#17190) [#17270](https://github.com/apache/datafusion/pull/17270) (timsaucer)
+
+## Credits
+
+Thank you to everyone who contributed to this release. Here is a breakdown of commits (PRs merged) per contributor.
+
+```
+ 1 Huaijin
+ 1 Oleks V
+ 1 Tim Saucer
+```
+
+Thank you also to everyone who contributed in other ways such as filing issues, reviewing PRs, and providing feedback on this release.
diff --git a/docs/source/user-guide/configs.md b/docs/source/user-guide/configs.md
index f1dad3d360..0736376fa8 100644
--- a/docs/source/user-guide/configs.md
+++ b/docs/source/user-guide/configs.md
@@ -97,7 +97,7 @@ The following configuration settings are available:
| datafusion.execution.parquet.dictionary_page_size_limit | 1048576 | (writing) Sets best effort maximum dictionary page size, in bytes |
| datafusion.execution.parquet.statistics_enabled | page | (writing) 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_row_group_size | 1048576 | (writing) Target maximum number of rows in each row group (defaults to 1M rows). Writing larger row groups requires more memory to write, but can get better compression and be faster to read. |
-| datafusion.execution.parquet.created_by | datafusion version 49.0.1 | (writing) Sets "created by" property |
+| datafusion.execution.parquet.created_by | datafusion version 49.0.2 | (writing) Sets "created by" property |
| datafusion.execution.parquet.column_index_truncate_length | 64 | (writing) Sets column index truncate length |
| datafusion.execution.parquet.statistics_truncate_length | 64 | (writing) Sets statistics truncate length. If NULL, uses default parquet writer setting |
| datafusion.execution.parquet.data_page_row_count_limit | 20000 | (writing) Sets best effort maximum number of rows in data page |