Skip to content

Commit 1ea5d57

Browse files
committed
update
1 parent 1a15688 commit 1ea5d57

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ rust-version = "1.88.0"
1313
# Jitter has a dependency on pyo3, which needs to match the version used in Sail.
1414
# https://github.com/pydantic/jiter/blob/v0.10.0/Cargo.toml
1515
[dependencies]
16-
datafusion = { git = "https://github.com/apache/datafusion.git", rev = "9f0df748ef3018a363cee2f0946399f9ef9014f1", default-features = false }
16+
datafusion = { git = "https://github.com/apache/datafusion.git", rev = "9f0df748ef3018a363cee2f0946399f9ef9014f1", default-features = false, features = ["sql"] }
1717
jiter = "0.10"
1818
log = "0.4"
1919
paste = "1"

src/rewrite.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,10 @@ impl std::fmt::Display for JsonOperator {
142142
fn expr_to_sql_repr(expr: &Expr) -> String {
143143
match expr {
144144
Expr::Column(Column {
145-
name,
146-
relation,
147-
spans: _,
148-
}) => relation
145+
name,
146+
relation,
147+
spans: _,
148+
}) => relation
149149
.as_ref()
150150
.map_or_else(|| name.clone(), |r| format!("{r}.{name}")),
151151
Expr::Alias(alias) => alias.name.clone(),

0 commit comments

Comments
 (0)