Skip to content

Commit 6e80a18

Browse files
committed
Update protobuf definition for serving_service
1 parent dcc2d66 commit 6e80a18

2 files changed

Lines changed: 172 additions & 140 deletions

File tree

protos/feast/core/FeatureSet.proto

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ option go_package = "github.com/gojek/feast/protos/generated/go/feast/core";
2424

2525
import "feast/types/Value.proto";
2626
import "feast/core/Source.proto";
27+
import "google/protobuf/duration.proto";
2728

2829
message FeatureSetSpec {
2930
// Name of the featureSet. Must be unique.
@@ -41,9 +42,10 @@ message FeatureSetSpec {
4142
// List of features contained within this featureSet.
4243
repeated FeatureSpec features = 4;
4344

44-
// Features in this feature set will only be retrieved if they are found after [Time - MaxAge]
45-
// Missing or older feature values will be returned as nulls and indicated to end user
46-
int64 maxAge = 5;
45+
// Features in this feature set will only be retrieved if they are found
46+
// after [time - max_age]. Missing or older feature values will be returned
47+
// as nulls and indicated to end user
48+
google.protobuf.Duration max_age = 5;
4749

4850
// Source on which feature rows can be found
4951
Source source = 6;

0 commit comments

Comments
 (0)