Skip to content

Commit

Permalink
feat: add CompositeKey message and composite_key field to FeatureView…
Browse files Browse the repository at this point in the history
…DataKey

PiperOrigin-RevId: 609467767
  • Loading branch information
Google APIs authored and Copybara-Service committed Feb 22, 2024
1 parent 694219f commit 64392a1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions google/cloud/aiplatform/v1/feature_online_store_service.proto
Expand Up @@ -73,9 +73,20 @@ enum FeatureViewDataFormat {

// Lookup key for a feature view.
message FeatureViewDataKey {
// ID that is comprised from several parts (columns).
message CompositeKey {
// Parts to construct Entity ID. Should match with the same ID columns as
// defined in FeatureView in the same order.
repeated string parts = 1;
}

oneof key_oneof {
// String key to use for lookup.
string key = 1;

// The actual Entity ID will be composed from this struct. This should match
// with the way ID is defined in the FeatureView spec.
CompositeKey composite_key = 2;
}
}

Expand Down

0 comments on commit 64392a1

Please sign in to comment.