Repository navigation
Ds/delete buckets per pkey api - #216
Merged
Merged
Conversation
Passes the new `delete_materialized_aggregates` flag of `DELETE /v1/features/rows` (DeleteFeaturesParams.Builder.withDeleteMaterializedAggregates): when set, the server also deletes every online bucket of the namespace's materialized windowed aggregations stored under the given primary keys. DeleteFeaturesResult exposes `materializedAggregateKeysDeleted`. The previous all-args constructors of DeleteFeaturesParams, its Builder and DeleteFeaturesResult are kept as overloads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The server deletes every materialized aggregation of the primary keys and rejects a `features` / `tags` selection combined with the flag; fail fast in the client with the same rule instead of sending the request. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…gates The flag is now `retain_materialized_aggregates`, defaulting to true; passing false deletes the keys' materialized aggregation buckets and is rejected together with `features` / `tags`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
saiguy3
approved these changes
Nov 3, 2026
saiguy3
reviewed
Nov 3, 2026
retainMaterializedAggregates is now a nullable Boolean that defaults to null, so the API server applies its default (true). Only an explicit false is rejected with features or tags. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.