Skip to content

Commit

Permalink
Point DataFusion to version 28
Browse files Browse the repository at this point in the history
  • Loading branch information
gruuya committed Jul 27, 2023
1 parent a84fd31 commit 7d8820e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
21 changes: 14 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion connectorx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ tokio-util = {version = "0.6", optional = true}
urlencoding = {version = "2.1", optional = true}
uuid = {version = "0.8", optional = true}
j4rs = {version = "0.13", optional = true}
datafusion = {git = "https://github.com/apache/arrow-datafusion", rev = "51b4392577554becf637a8adcefa0e7fdc79e41f", optional = true}
datafusion = {version = "28", optional = true}

[lib]
crate-type = ["cdylib", "rlib"]
Expand Down
5 changes: 3 additions & 2 deletions connectorx/examples/federated_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,10 @@ fn main() {
// println!("==== run sql 2 ====");

let df = rt.block_on(ctx.sql(local_sql.as_str())).unwrap();
rt.block_on(df.explain(false, false).unwrap().show())
rt.block_on(df.clone().explain(false, false).unwrap().show())
.unwrap();
rt.block_on(df.clone().limit(5, None).unwrap().show())
.unwrap();
rt.block_on(df.limit(5, None).unwrap().show()).unwrap();
let num_rows = rt
.block_on(df.collect())
.unwrap()
Expand Down

0 comments on commit 7d8820e

Please sign in to comment.