Skip to content

Commit 6c09468

Browse files
committed
DF 45 Patch
1 parent 99a1a99 commit 6c09468

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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.80.1"
1212

1313
[dependencies]
14-
datafusion = { version = "45", default-features = false }
14+
datafusion = { git = "https://github.com/apache/datafusion.git", rev = "a9fb58c", default-features = false }
1515
# Jitter has a dependency on pyo3, which needs to match the version used in DataFusion
1616
jiter = "0.8"
1717
paste = "1"
1818
log = "0.4"
1919

2020
[dev-dependencies]
21-
datafusion = { version = "45", default-features = false, features = ["nested_expressions"] }
21+
datafusion = { git = "https://github.com/apache/datafusion.git", rev = "a9fb58c", features = ["nested_expressions"] }
2222
codspeed-criterion-compat = "2.6"
2323
criterion = "0.5.1"
2424
clap = "4"

src/rewrite.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ impl std::fmt::Display for JsonOperator {
141141
/// Convert an Expr to a String representatiion for use in alias names.
142142
fn expr_to_sql_repr(expr: &Expr) -> String {
143143
match expr {
144-
Expr::Column(Column { name, relation }) => relation
144+
Expr::Column(Column { name, relation, spans: _ }) => relation
145145
.as_ref()
146146
.map_or_else(|| name.clone(), |r| format!("{r}.{name}")),
147147
Expr::Alias(alias) => alias.name.clone(),

0 commit comments

Comments
 (0)