You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9420fac
Browse filesBrowse the repository at this point in the historyBrowse files
authored
feat: Optional nameless pre-computed vectors with a schema fingerprint (#7077)
* feat: Refresh pre-computed vectors for pushed entities only
precompute_feature_service accepts entity_keys and skips the keyspace scan
when they are given. The push hook now passes the distinct entity keys from
the pushed DataFrame instead of rebuilding every entity in the store.
Signed-off-by: Chandler King <[email protected]>
Co-Authored-By: Claude Fable 5.1 <[email protected]>
* fix: Match pre-computed vector names when full_feature_names is False
Stored vectors carry "<fv>__<feature>" names while the default request
expects bare feature names, so the fast path always reported a schema
mismatch unless full_feature_names=True. Compare on the caller's naming and
derive the per-feature view name from the stored names for TTL checks.
Signed-off-by: Chandler King <[email protected]>
Co-Authored-By: Claude Fable 5.1 <[email protected]>
* feat: Optional nameless pre-computed vectors with a schema fingerprint
A pre-computed vector stores the full repeated feature name list next to its
values. For a wide service that is most of the blob: 90 features came to
4.8 KB per entity, 3.8 KB of it names that are identical for every entity.
FeatureService gains precompute_omit_names. Vectors written for such a
service carry only values, per-view timestamps, and a fingerprint of the
service's ordered names. The fast path validates a nameless vector by
fingerprint and takes its names from the service. Vectors with names keep
working as before. With the flag on the same blob is 834 bytes, and a
500-entity read moves 414 KB instead of 2.4 MB.
Generated code is from grpcio-tools 1.62.3 (protobuf 4.25) and mypy-protobuf
3.3.0 to match the checked-in files.
Signed-off-by: Chandler King <[email protected]>
Co-Authored-By: Claude Fable 5.1 <[email protected]>
* chore: Retrigger CI
Signed-off-by: Chandler King <[email protected]>
---------
Signed-off-by: Chandler King <[email protected]>
Co-authored-by: Claude Fable 5.1 <[email protected]>
Co-authored-by: Shuchu Han <[email protected]>
0 commit comments