Skip to content

Commit 7767447

Browse files
Google APIscopybara-github
authored andcommitted
feat: add CompositeKey message and composite_key field to FeatureViewDataKey
PiperOrigin-RevId: 609491914
1 parent 096fad1 commit 7767447

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

google/cloud/aiplatform/v1beta1/feature_online_store_service.proto

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,20 @@ enum FeatureViewDataFormat {
7373

7474
// Lookup key for a feature view.
7575
message FeatureViewDataKey {
76+
// ID that is comprised from several parts (columns).
77+
message CompositeKey {
78+
// Parts to construct Entity ID. Should match with the same ID columns as
79+
// defined in FeatureView in the same order.
80+
repeated string parts = 1;
81+
}
82+
7683
oneof key_oneof {
7784
// String key to use for lookup.
7885
string key = 1;
86+
87+
// The actual Entity ID will be composed from this struct. This should match
88+
// with the way ID is defined in the FeatureView spec.
89+
CompositeKey composite_key = 2;
7990
}
8091
}
8192

0 commit comments

Comments
 (0)