Skip to content

Commit 8f63a79

Browse files
committed
cargo fmt and address coderabbit comments
1 parent 6752bee commit 8f63a79

File tree

4 files changed

+19
-12
lines changed

4 files changed

+19
-12
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ build = "build.rs"
1111
# Arrow and DataFusion ecosystem
1212
arrow = "57.1.0"
1313
arrow-array = "57.1.0"
14-
arrow-flight = { version = "57.1.0", features = ["tls-aws-lc","tls-native-roots"] }
14+
arrow-flight = { version = "57.1.0", features = [
15+
"tls-aws-lc",
16+
"tls-native-roots",
17+
] }
1518
arrow-ipc = { version = "57.1.0", features = ["zstd"] }
1619
arrow-json = "57.1.0"
1720
arrow-schema = { version = "57.1.0", features = ["serde"] }
@@ -33,7 +36,13 @@ actix-web-prometheus = { version = "0.1" }
3336
actix-web-static-files = "4.0"
3437
http = "0.2.7"
3538
http-auth-basic = "0.3.3"
36-
tonic = { version = "0.14.1", features = ["tls-aws-lc", "tls-native-roots", "transport", "gzip", "zstd"] }
39+
tonic = { version = "0.14.1", features = [
40+
"tls-aws-lc",
41+
"tls-native-roots",
42+
"transport",
43+
"gzip",
44+
"zstd",
45+
] }
3746
tonic-prost = "0.14.1"
3847
tonic-web = "0.14.1"
3948
tower-http = { version = "0.6.1", features = ["cors"] }
@@ -87,13 +96,13 @@ tokio-util = { version = "0.7" }
8796
# ] }
8897

8998
# add custom branch with fix until it gets merged
90-
opentelemetry-proto = {git = "https://github.com/parmesant/opentelemetry-rust/", branch = "fix-metrics-u64-serialization", features = [
99+
opentelemetry-proto = { git = "https://github.com/parmesant/opentelemetry-rust/", rev = "45fb828769e6ade96d56ca1f5fa14cf0986a5341", features = [
91100
"gen-tonic",
92101
"with-serde",
93102
"logs",
94103
"metrics",
95104
"trace",
96-
]}
105+
] }
97106
prometheus = { version = "0.13", features = ["process"] }
98107
prometheus-parse = "0.2.5"
99108
tracing = "0.1"
@@ -142,7 +151,7 @@ reqwest = { version = "0.11.27", default-features = false, features = [
142151
"json",
143152
"gzip",
144153
"brotli",
145-
"stream"
154+
"stream",
146155
] } # cannot update cause rustls is not latest `see rustls`
147156
semver = "1.0"
148157
static-files = "0.2"

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ pub mod validator;
5252

5353
use std::time::Duration;
5454

55+
// Public re-exports of crates being used in enterprise
5556
pub use datafusion;
5657
pub use handlers::http::modal::{
5758
ParseableServer, ingest_server::IngestServer, query_server::QueryServer, server::Server,

src/query/stream_schema_provider.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,7 @@ impl StandardTableProvider {
146146
let file_format = ParquetFormat::default().with_enable_pruning(true);
147147

148148
// create file groups from vec file partitions
149-
let file_groups = partitions
150-
.into_iter()
151-
.map(FileGroup::new)
152-
.collect_vec();
149+
let file_groups = partitions.into_iter().map(FileGroup::new).collect_vec();
153150

154151
// parquet file source, default table parquet options
155152
let file_source = if let Some(phyiscal_expr) = filters {

0 commit comments

Comments
 (0)