From 5c375281ef54fa147e0000ddb3d1d98699ecbc6c Mon Sep 17 00:00:00 2001 From: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com> Date: Mon, 3 Feb 2025 07:03:25 -0800 Subject: [PATCH 1/4] update datafusion to 45 --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index bdf1fb7..9289a7d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,13 +11,13 @@ repository = "https://github.com/datafusion-contrib/datafusion-functions-json/" rust-version = "1.80.1" [dependencies] -datafusion = { version = "44", default-features = false } +datafusion = { version = "45", default-features = false } jiter = "0.8" paste = "1" log = "0.4" [dev-dependencies] -datafusion = { version = "44", default-features = false, features = ["nested_expressions"] } +datafusion = { version = "45", default-features = false, features = ["nested_expressions"] } codspeed-criterion-compat = "2.6" criterion = "0.5.1" clap = "4" From 598799b3dae8f32b017f3ba8cb9f3c187e07876e Mon Sep 17 00:00:00 2001 From: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com> Date: Mon, 3 Feb 2025 07:06:10 -0800 Subject: [PATCH 2/4] prepare for df 45 --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 9289a7d..1847185 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,3 +34,9 @@ pedantic = { level = "deny", priority = -1 } [[bench]] name = "main" harness = false + +[patch.crates-io] +datafusion = { git = "https://github.com/pydantic/datafusion.git", rev = "b978115" } +datafusion-common = { git = "https://github.com/pydantic/datafusion.git", rev = "b978115" } +datafusion-expr = { git = "https://github.com/pydantic/datafusion.git", rev = "b978115" } +datafusion-execution = { git = "https://github.com/pydantic/datafusion.git", rev = "b978115" } From 2e8dae0e212e7198146556bac4e69890350b8ce4 Mon Sep 17 00:00:00 2001 From: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com> Date: Tue, 4 Feb 2025 09:43:17 -0800 Subject: [PATCH 3/4] bump rust version --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1847185..e505506 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" keywords = ["datafusion", "JSON", "SQL"] categories = ["database-implementations", "parsing"] repository = "https://github.com/datafusion-contrib/datafusion-functions-json/" -rust-version = "1.80.1" +rust-version = "1.81.0" [dependencies] datafusion = { version = "45", default-features = false } From 4a9f4a0ebf38503385042bd8e50d15f22dfd5a51 Mon Sep 17 00:00:00 2001 From: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com> Date: Sun, 9 Feb 2025 19:39:18 -0800 Subject: [PATCH 4/4] use released version --- Cargo.toml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e505506..77cec19 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "datafusion-functions-json" -version = "0.44.2" +version = "0.45.0" edition = "2021" description = "JSON functions for DataFusion" readme = "README.md" @@ -34,9 +34,3 @@ pedantic = { level = "deny", priority = -1 } [[bench]] name = "main" harness = false - -[patch.crates-io] -datafusion = { git = "https://github.com/pydantic/datafusion.git", rev = "b978115" } -datafusion-common = { git = "https://github.com/pydantic/datafusion.git", rev = "b978115" } -datafusion-expr = { git = "https://github.com/pydantic/datafusion.git", rev = "b978115" } -datafusion-execution = { git = "https://github.com/pydantic/datafusion.git", rev = "b978115" }