Add partition range filter to rill project refresh#9533
Draft
rohithreddykota wants to merge 1 commit into
Draft
Conversation
Adds --partition-key, --partition-start, and --partition-end flags so operators can refresh a contiguous range of incremental-model partitions without having to look up each MD5 partition key manually. Resolution happens client-side and the matched partitions are listed for confirmation before triggering; --yes skips the prompt.
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.
Adds
--partition-key,--partition-start, and--partition-endflags torill project refreshso a contiguous range of incremental-model partitions can be refreshed without having to look up each MD5 partition key by hand.data[<key>]against[start, end](inclusive, lexicographic string compare), prints the matched rows, and asks for confirmation before triggering.--yesskips the prompt for scripted use.RefreshModelTrigger.Partitionsend-to-end — no proto, admin, or reconciler changes.--partition/--errored-partitions; requires exactly one--model; enforces the existing "model must be incremental" check.Example:
```
rill project refresh --model my_model \
--partition-key date \
--partition-start 2026-03-02 \
--partition-end 2026-03-08
```
Checklist:
Developed in collaboration with Claude Code