Skip to content

Commit 7c9f7a4

Browse files
committed
fix lint
1 parent 75b642d commit 7c9f7a4

File tree

3 files changed

+21
-26
lines changed

3 files changed

+21
-26
lines changed

Cargo.toml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,32 @@ rust-version = "1.88.0"
3232
[workspace.dependencies]
3333
arrow = { version = "57", features = ["ipc_compression"] }
3434
arrow-flight = { version = "57", features = ["flight-sql-experimental"] }
35+
async-trait = { version = "0.1" }
3536
clap = { version = "4.5", features = ["derive", "cargo"] }
3637
configure_me = { version = "0.4.0" }
3738
configure_me_codegen = { version = "0.4.4" }
39+
ctor = { version = "0.5" }
40+
dashmap = { version = "6.1" }
3841
datafusion = "51.0.0"
3942
datafusion-cli = "51.0.0"
4043
datafusion-proto = "51.0.0"
4144
datafusion-proto-common = "51.0.0"
4245
datafusion-substrait = "51.0.0"
46+
env_logger = { version = "0.11" }
47+
futures = { version = "0.3" }
48+
log = { version = "0.4" }
49+
mimalloc = { version = "0.1" }
4350
object_store = "0.12"
51+
parking_lot = { version = "0.12" }
4452
prost = "0.14"
4553
prost-types = "0.14"
54+
rand = { version = "0.9" }
4655
rstest = { version = "0.26" }
56+
serde = { version = "1.0" }
57+
tempfile = { version = "3.16" }
58+
59+
tokio = { version = "1" }
60+
tokio-stream = { version = "0.1" }
4761
tonic = { version = "0.14" }
4862
tonic-build = { version = "0.14", default-features = false, features = [
4963
"transport",
@@ -53,22 +67,8 @@ tonic-prost-build = { version = "0.14" }
5367
tracing = "0.1"
5468
tracing-appender = "0.2.2"
5569
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
56-
ctor = { version = "0.5" }
57-
mimalloc = { version = "0.1" }
58-
59-
tokio = { version = "1" }
60-
uuid = { version = "1.13", features = ["v4", "v7"] }
61-
rand = { version = "0.9" }
62-
env_logger = { version = "0.11" }
63-
futures = { version = "0.3" }
64-
log = { version = "0.4" }
65-
parking_lot = { version = "0.12" }
66-
tempfile = { version = "3.16" }
67-
dashmap = { version = "6.1" }
68-
async-trait = { version = "0.1" }
69-
serde = { version = "1.0" }
70-
tokio-stream = { version = "0.1" }
7170
url = { version = "2.5" }
71+
uuid = { version = "1.13", features = ["v4", "v7"] }
7272

7373
# cargo build --profile release-lto
7474
[profile.release-lto]
@@ -91,15 +91,15 @@ panic = 'unwind'
9191
rpath = false
9292

9393
[profile.ci]
94-
inherits = "dev"
95-
incremental = false
9694
debug = false
9795
debug-assertions = false
96+
incremental = false
97+
inherits = "dev"
9898
strip = "debuginfo"
9999

100100
# ci turns off debug info, etc. for dependencies to allow for smaller binaries making caching more effective
101101
[profile.ci.package."*"]
102102
debug = false
103103
debug-assertions = false
104+
incremental = false
104105
strip = "debuginfo"
105-
incremental = false

benchmarks/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ tokio = { version = "^1.44", features = [
5252

5353
[dev-dependencies]
5454
ballista-core = { path = "../ballista/core", version = "51.0.0" }
55-
ballista-scheduler = { path = "../ballista/scheduler", version = "51.0.0" }
5655
ballista-executor = { path = "../ballista/executor", version = "51.0.0" }
57-
tracing-subscriber = { workspace = true }
56+
ballista-scheduler = { path = "../ballista/scheduler", version = "51.0.0" }
57+
tracing-subscriber = { workspace = true }

benchmarks/tests/tpch_distributed.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -401,12 +401,7 @@ fn find_query_file(root: &Path, query_no: usize) -> Option<PathBuf> {
401401
root.join(format!("benchmarks/queries/q{}.sql", query_no)),
402402
root.join(format!("queries/q{}.sql", query_no)),
403403
];
404-
for p in paths {
405-
if p.exists() {
406-
return Some(p);
407-
}
408-
}
409-
None
404+
paths.into_iter().find(|p| p.exists())
410405
}
411406

412407
tpch_test!(q1, 1);

0 commit comments

Comments
 (0)