Skip to content

Commit a934858

Browse files
committed
chore: switch to compact greptimedb rust client
1 parent 3c2cd6f commit a934858

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

Cargo.lock

+31
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ hex = { version = "0.4.3", default-features = false, optional = true }
229229
sha2 = { version = "0.10.6", default-features = false, optional = true }
230230

231231
# Greptime
232-
greptimedb-client = { git = "https://github.com/GreptimeTeam/greptimedb.git", rev = "b5e5f8e555065da0ba1d3f13b6b76fad59cb4017", package = "client", optional = true }
232+
greptimedb-client = { git = "https://github.com/GreptimeTeam/greptimedb-client-rust.git", rev = "2b5d575fd4aaff2955b20e59e752e1eba71c4b75", package = "greptimedb-client-rust", optional = true }
233233

234234
# VRL Lang
235235
vrl = { package = "vrl", git = "https://github.com/vectordotdev/vrl", rev = "v0.2.0" }

src/sinks/greptimedb/client.rs

-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ fn encode_histogram(buckets: &[Bucket], columns: &mut Vec<Column>) {
267267
fn encode_quantiles(quantiles: &[Quantile], columns: &mut Vec<Column>) {
268268
for quantile in quantiles {
269269
let column_name = format!("p{:02}", quantile.quantile * 100f64);
270-
dbg!(&column_name);
271270
columns.push(f64_field(&column_name, quantile.value));
272271
}
273272
}

0 commit comments

Comments
 (0)