Skip to content

Commit a09f9a7

Browse files
authored
Merge pull request #56 from spiceai/peasee-50
feat: update DF and arrow
2 parents 2d537ad + a1ba4ca commit a09f9a7

3 files changed

Lines changed: 20 additions & 4 deletions

File tree

Cargo.toml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,26 @@ readme = "README.md"
1111
repository = "https://github.com/datafusion-contrib/datafusion-federation"
1212

1313
[workspace.dependencies]
14-
arrow-json = "56"
14+
arrow-json = "56.0.0"
1515
async-stream = "0.3.5"
1616
async-trait = "0.1.83"
17-
datafusion = "50.0.0"
17+
datafusion = "50.3.0"
1818
datafusion-federation = { path = "./datafusion-federation", version = "0.4.10" }
1919
futures = "0.3.31"
2020
tokio = { version = "1.41", features = ["full"] }
21+
22+
[patch.crates-io]
23+
datafusion = { git = "https://github.com/spiceai/datafusion.git", rev = "cd6b2f85c4b1d9d0b450aacd7f3498a1dea48ec4" } # spiceai-50
24+
datafusion-expr = { git = "https://github.com/spiceai/datafusion.git", rev = "cd6b2f85c4b1d9d0b450aacd7f3498a1dea48ec4" } # spiceai-50
25+
datafusion-physical-expr = { git = "https://github.com/spiceai/datafusion.git", rev = "cd6b2f85c4b1d9d0b450aacd7f3498a1dea48ec4" } # spiceai-50
26+
datafusion-physical-plan = { git = "https://github.com/spiceai/datafusion.git", rev = "cd6b2f85c4b1d9d0b450aacd7f3498a1dea48ec4" } # spiceai-50
27+
28+
arrow = { git = "https://github.com/spiceai/arrow-rs.git", rev = "9f9c372ff5744488226462e3ea7d94ff47909833" } # spiceai-56
29+
arrow-array = { git = "https://github.com/spiceai/arrow-rs.git", rev = "9f9c372ff5744488226462e3ea7d94ff47909833" } # spiceai-56
30+
arrow-buffer = { git = "https://github.com/spiceai/arrow-rs.git", rev = "9f9c372ff5744488226462e3ea7d94ff47909833" } # spiceai-56
31+
arrow-cast = { git = "https://github.com/spiceai/arrow-rs.git", rev = "9f9c372ff5744488226462e3ea7d94ff47909833" } # spiceai-56
32+
arrow-json = { git = "https://github.com/spiceai/arrow-rs.git", rev = "9f9c372ff5744488226462e3ea7d94ff47909833" } # spiceai-56
33+
arrow-ipc = { git = "https://github.com/spiceai/arrow-rs.git", rev = "9f9c372ff5744488226462e3ea7d94ff47909833" } # spiceai-56
34+
arrow-ord = { git = "https://github.com/spiceai/arrow-rs.git", rev = "9f9c372ff5744488226462e3ea7d94ff47909833" } # spiceai-56
35+
arrow-schema = { git = "https://github.com/spiceai/arrow-rs.git", rev = "9f9c372ff5744488226462e3ea7d94ff47909833" } # spiceai-56
36+
parquet = { git = "https://github.com/spiceai/arrow-rs.git", rev = "9f9c372ff5744488226462e3ea7d94ff47909833" } # spiceai-56

datafusion-federation/src/sql/analyzer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ mod tests {
957957
),
958958
(
959959
"SELECT foo.df_table.a FROM foo.df_table",
960-
r#"SELECT remote_table.a FROM "default".remote_table"#,
960+
r#"SELECT a FROM "default".remote_table"#,
961961
),
962962
(
963963
"SELECT MIN(a) FROM foo.df_table",

datafusion-federation/src/sql/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ mod tests {
622622
});
623623

624624
let expected = vec![
625-
r#"SELECT "table".a, "table".b, "table".c FROM "default"."table" UNION ALL SELECT "Table".a, "Table".b, "Table".c FROM "default"."Table"(1) AS Table"#,
625+
r#"SELECT a, b, c FROM "default"."table" UNION ALL SELECT a, b, c FROM "default"."Table"(1) AS Table"#,
626626
];
627627

628628
assert_eq!(

0 commit comments

Comments
 (0)