Skip to content

Commit

Permalink
Update sqlparser and datafusion
Browse files Browse the repository at this point in the history
  • Loading branch information
returnString committed Jan 23, 2024
1 parent e6e5713 commit e06998a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion convergence-arrow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/returnString/convergence"
[dependencies]
tokio = { version = "1" }
async-trait = "0.1"
datafusion = "31"
datafusion = "34"
convergence = { path = "../convergence", version = "0.14.0" }
chrono = "0.4"

Expand Down
2 changes: 1 addition & 1 deletion convergence-arrow/examples/datafusion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use datafusion::scalar::ScalarValue;
use std::sync::Arc;

async fn new_engine() -> DataFusionEngine {
let ctx = SessionContext::with_config(
let ctx = SessionContext::new_with_config(
SessionConfig::new()
.with_information_schema(true)
.with_create_default_catalog_and_schema(false),
Expand Down
2 changes: 2 additions & 0 deletions convergence-arrow/src/datafusion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ fn dummy_query() -> Statement {
fetch: None,
offset: None,
order_by: vec![],
for_clause: None,
limit_by: vec![],
}))
}

Expand Down
2 changes: 1 addition & 1 deletion convergence/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tokio-util = { version = "0.7", features = [ "codec" ] }
thiserror = "1"
bytes = "1"
futures = "0.3"
sqlparser = "0.38"
sqlparser = "0.41"
async-trait = "0.1"
chrono = "0.4"

Expand Down

0 comments on commit e06998a

Please sign in to comment.