Skip to content

Commit

Permalink
add panic return
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed Sep 19, 2023
1 parent c1738d6 commit 7d3876d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 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 src/expr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ arrow-schema = { workspace = true }
async-trait = "0.1"
auto_enums = "0.8"
await-tree = { workspace = true }
cfg-or-panic = "0.1"
cfg-or-panic = "0.2"
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
chrono-tz = { version = "0.8", features = ["case-insensitive"] }
ctor = "0.2"
Expand Down
2 changes: 1 addition & 1 deletion src/tests/simulation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ normal = ["serde"]
anyhow = "1.0"
async-trait = "0.1"
aws-sdk-s3 = { version = "0.2", package = "madsim-aws-sdk-s3" }
cfg-or-panic = "0.1"
cfg-or-panic = "0.2"
clap = { version = "4", features = ["derive"] }
console = "0.15"
etcd-client = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion src/udf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ arrow-array = { workspace = true }
arrow-flight = { workspace = true }
arrow-schema = { workspace = true }
arrow-select = { workspace = true }
cfg-or-panic = "0.1"
cfg-or-panic = "0.2"
futures-util = "0.3.28"
static_assertions = "1"
thiserror = "1"
Expand Down
1 change: 1 addition & 0 deletions src/udf/src/external.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ impl ArrowFlightUdfClient {
}

/// Call a function with streaming input and output.
#[panic_return = "Result<stream::Empty<_>>"]
pub async fn call_stream(
&self,
id: &str,
Expand Down

0 comments on commit 7d3876d

Please sign in to comment.