Skip to content

Commit 4f836d9

Browse files
committed
add missing file
1 parent b8f7098 commit 4f836d9

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

Cargo.lock

Lines changed: 15 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ rustls = "0.23"
6767
test-log = "0.2"
6868
thiserror = "1.0"
6969

70-
tokio = { version = "1.0", features = ["full"] }
70+
tokio = { version = "1.46", features = ["full"] }
7171
tokio-stream = { version = "0.1", features = ["full"] }
7272

7373
tonic = { version = "0.12", default-features = false, features = [

src/ctx_customizer.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
use datafusion::prelude::SessionContext;
2+
3+
pub trait CtxCustomizer {
4+
/// Customize the context before planning a a query.
5+
fn customize(&self, ctx: &mut SessionContext) -> Result<(), Box<dyn std::error::Error>>;
6+
}

0 commit comments

Comments
 (0)