Skip to content

Commit 3a360ef

Browse files
authored
Upgrade datafusion to version 49 (#140)
1 parent 5909068 commit 3a360ef

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repository = "https://github.com/datafusion-contrib/datafusion-federation"
1414
arrow-json = "55"
1515
async-stream = "0.3.5"
1616
async-trait = "0.1.83"
17-
datafusion = "48.0.0"
17+
datafusion = "49.0.0"
1818
datafusion-federation = { path = "./datafusion-federation", version = "0.4.6" }
1919
futures = "0.3.31"
2020
tokio = { version = "1.41", features = ["full"] }

datafusion-federation/src/sql/analyzer.rs

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -387,17 +387,14 @@ fn rewrite_table_scans_in_expr(
387387
let order_by = af
388388
.params
389389
.order_by
390-
.map(|e| {
391-
e.into_iter()
392-
.map(|sort| {
393-
Ok(Sort {
394-
expr: rewrite_table_scans_in_expr(sort.expr, known_rewrites)?,
395-
..sort
396-
})
397-
})
398-
.collect::<Result<Vec<_>>>()
390+
.into_iter()
391+
.map(|sort| {
392+
Ok(Sort {
393+
expr: rewrite_table_scans_in_expr(sort.expr, known_rewrites)?,
394+
..sort
395+
})
399396
})
400-
.transpose()?;
397+
.collect::<Result<Vec<_>>>()?;
401398
let params = AggregateFunctionParams {
402399
args,
403400
distinct: af.params.distinct,

0 commit comments

Comments
 (0)