Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ repository = "https://github.com/datafusion-contrib/datafusion-functions-json/"
rust-version = "1.80.1"

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

[dev-dependencies]
datafusion = { version = "44", default-features = false, features = ["nested_expressions"] }
datafusion = { git = "https://github.com/apache/datafusion.git", rev = "a9fb58c", features = ["nested_expressions"] }
codspeed-criterion-compat = "2.6"
criterion = "0.5.1"
clap = "4"
Expand Down
2 changes: 1 addition & 1 deletion src/rewrite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ impl std::fmt::Display for JsonOperator {
/// Convert an Expr to a String representatiion for use in alias names.
fn expr_to_sql_repr(expr: &Expr) -> String {
match expr {
Expr::Column(Column { name, relation }) => relation
Expr::Column(Column { name, relation, spans: _ }) => relation
.as_ref()
.map_or_else(|| name.clone(), |r| format!("{r}.{name}")),
Expr::Alias(alias) => alias.name.clone(),
Expand Down
Loading