Skip to content

Commit d41ad5d

Browse files
committed
fix: remove redundant comments and clarify metadata requirement in DataPointValue and WriteRequest
1 parent 784303f commit d41ad5d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/proto/banyandb/v1/banyandb-measure.proto

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,8 @@ message DataPointSpec {
176176
message DataPointValue {
177177
// timestamp is in the timeunit of milliseconds.
178178
google.protobuf.Timestamp timestamp = 1 [(validate.rules).timestamp.required = true];
179-
// the order of tag_families' items match the measure schema
180179
// the order of tag_families' items match DataPointSpec
181180
repeated model.v1.TagFamilyForWrite tag_families = 2 [(validate.rules).repeated.min_items = 1];
182-
// the order of fields match the measure schema
183181
// the order of fields match DataPointSpec
184182
repeated model.v1.FieldValue fields = 3;
185183
// the version of the data point
@@ -188,8 +186,6 @@ message DataPointValue {
188186

189187
// WriteRequest is the request contract for write
190188
message WriteRequest {
191-
// the metadata is required.
192-
common.v1.Metadata metadata = 1 [(validate.rules).message.required = true];
193189
// the metadata is required only for the first request of gRPC stream.
194190
common.v1.Metadata metadata = 1;
195191
// the data_point is required.

0 commit comments

Comments
 (0)