Skip to content

Commit a1cf8ff

Browse files
author
zhilingc
committed
Add comments to new types
1 parent d2a5f97 commit a1cf8ff

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

protos/feast/serving/ServingService.proto

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ message GetFeaturesRequest {
6767
// List of feature sets and their features that are being retrieved
6868
repeated FeatureSet feature_sets = 1;
6969

70-
// TODO: comments
70+
// List of entity rows, containing entity id and timestamp data.
71+
// Used during retrieval of feature rows and for joining feature
72+
// rows into a final dataset
7173
repeated EntityRow entity_rows = 2;
7274

7375
message FeatureSet {
@@ -88,9 +90,13 @@ message GetFeaturesRequest {
8890
google.protobuf.Duration max_age = 4;
8991
}
9092

91-
// TODO: comments
93+
9294
message EntityRow {
95+
// Request timestamp of this row. This value will be used, together with maxAge,
96+
// to determine feature staleness.
9397
google.protobuf.Timestamp entity_timestamp = 1;
98+
99+
// Map containing mapping of entity name to entity value.
94100
map<string,feast.types.Value> fields = 2;
95101
}
96102
}

0 commit comments

Comments
 (0)