Skip to content

Commit 35d1d81

Browse files
committed
fix: update the ceresdbproto dep
1 parent c00026c commit 35d1d81

File tree

3 files changed

+20
-30
lines changed

3 files changed

+20
-30
lines changed

Cargo.lock

+17-29
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
@@ -97,7 +97,7 @@ bytes = "1.1.0"
9797
bytes_ext = { path = "components/bytes_ext" }
9898
catalog = { path = "catalog" }
9999
catalog_impls = { path = "catalog_impls" }
100-
ceresdbproto = { git = "https://github.com/ShiKaiWi/ceresdbproto.git", rev = "c33cc342c64521a25dfd00da8c6ce746f682ab96" }
100+
ceresdbproto = "1.0.10"
101101
codec = { path = "components/codec" }
102102
chrono = "0.4"
103103
clap = "3.0"

table_engine/src/remote/model.rs

+2
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ impl WriteRequest {
220220
let max_timestamp = row_group.max_timestamp().as_i64();
221221

222222
let mut encoded_rows = Vec::with_capacity(row_group.num_rows());
223+
// TODO: The schema of the written row group may be different from the original
224+
// one, so the compatibility for that should be taken consideration.
223225
let index_in_schema = IndexInWriterSchema::for_same_schema(table_schema.num_columns());
224226
for row in &row_group {
225227
let mut buf = ByteVec::new();

0 commit comments

Comments
 (0)