Skip to content

Ds/delete buckets per pkey api - #216

Merged
dovie-shalev merged 4 commits into
mainfrom
ds/delete_buckets_per_pkey_api
Nov 3, 2026
Merged

dovie-shalev merged 4 commits into
mainfrom
ds/delete_buckets_per_pkey_api

Conversation

@dovie-shalev

Copy link
Copy Markdown
Contributor

No description provided.

dovie-shalev and others added 3 commits October 28, 2026 16:22
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>
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>
@dovie-shalev
dovie-shalev merged commit 692bdd6 into main Nov 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants