Skip to content

Commit 5c4d046

Browse files
committed
update to df 50
1 parent 5dedf29 commit 5c4d046

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ repository = "https://github.com/datafusion-contrib/datafusion-functions-json/"
1111
rust-version = "1.85.1"
1212

1313
[dependencies]
14-
datafusion = { version = "49", default-features = false }
14+
datafusion = { version = "50", default-features = false }
1515
jiter = "0.10"
1616
log = "0.4"
1717
paste = "1"
1818

1919
[dev-dependencies]
2020
codspeed-criterion-compat = "2.6"
21-
datafusion = { version = "49", default-features = false, features = [
21+
datafusion = { version = "50", default-features = false, features = [
2222
"nested_expressions",
2323
] }
2424
tokio = { version = "1.43", features = ["full"] }

tests/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use datafusion::arrow::datatypes::{Field, Int64Type, Int8Type, Schema};
66
use datafusion::arrow::{array::StringDictionaryBuilder, datatypes::DataType};
77
use datafusion::assert_batches_eq;
88
use datafusion::common::ScalarValue;
9+
use datafusion::config::ConfigOptions;
910
use datafusion::logical_expr::{ColumnarValue, ScalarFunctionArgs};
1011
use datafusion::prelude::SessionContext;
1112
use datafusion_functions_json::udfs::json_get_str_udf;
@@ -600,6 +601,7 @@ fn test_json_get_utf8() {
600601
Field::new("ret_field", DataType::Utf8, false)
601602
.with_metadata(HashMap::from_iter(vec![("is_json".to_string(), "true".to_string())])),
602603
),
604+
config_options: Arc::new(ConfigOptions::default()),
603605
})
604606
.unwrap()
605607
else {
@@ -633,6 +635,7 @@ fn test_json_get_large_utf8() {
633635
Field::new("ret_field", DataType::Utf8, false)
634636
.with_metadata(HashMap::from_iter(vec![("is_json".to_string(), "true".to_string())])),
635637
),
638+
config_options: Arc::new(ConfigOptions::default()),
636639
})
637640
.unwrap()
638641
else {

0 commit comments

Comments
 (0)