Skip to content

Commit bccdbf7

Browse files
author
zhilingc
committed
Merge branch '0.3-dev' of github.com:gojek/feast into 0.3-dev
2 parents d82e52b + 6e80a18 commit bccdbf7

20 files changed

Lines changed: 445 additions & 263 deletions

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;

protos/feast/core/Store.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ option java_package = "feast.core";
2121
option java_outer_classname = "StoreProto";
2222
option go_package = "github.com/gojek/feast/protos/generated/go/feast/core";
2323

24-
// Store provides a location to which Feast reads and writes feature values.
24+
// Store provides a location where Feast reads and writes feature values.
2525
// Feature values will be written to the Store in the form of FeatureRow elements.
2626
// The way FeatureRow is encoded and decoded when it is written to and read from
27-
// the store depends on the type of the Store.
27+
// the Store depends on the type of the Store.
2828
//
2929
// For example, a FeatureRow will materialize as a row in a table in
3030
// BigQuery but it will materialize as a key, value pair element in Redis.
@@ -71,7 +71,7 @@ message Store {
7171
// - created_timestamp | TIMESTAMP | processing time of the ingestion of the FeatureRow
7272
// - job_id | STRING | identifier for the job that writes the FeatureRow to the corresponding BigQuery table
7373
//
74-
// BigQuery table created will be partitioned by the event_timestamp field
74+
// BigQuery table created will be partitioned by the field "event_timestamp"
7575
// of the FeatureRow (https://cloud.google.com/bigquery/docs/partitioned-tables).
7676
//
7777
// Since newer version of feature set can introduce breaking, non backward-
@@ -98,7 +98,7 @@ message Store {
9898
// FLOAT_LIST : ARRAY
9999
// BOOL_LIST : ARRAY
100100
//
101-
// The column mode in BigQuery is set to Nullable such that unset Value
101+
// The column mode in BigQuery is set to "Nullable" such that unset Value
102102
// in a FeatureRow corresponds to NULL value in BigQuery.
103103
//
104104
BIGQUERY = 2;

0 commit comments

Comments
 (0)