Repository navigation
feat: show janitor progress, inspect and archive faster - #1226
Merged
Merged
Conversation
…erbose and --json
… failures, reset the json marker per invocation
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.
Why
sqb janitorwas silent while working, listed every object in its preview, and was slow on large warehouses: repeated schema listings, per-view definition queries, and an event lookup plus insert per archive, on one connection.Changes
n/Nline per action (OK/FAIL, time, error); the run ends with✓ Janitor completed archived A, deleted D, pruned P (time)or✗ Janitor failed ….--verboselists everything;--jsonputs plan and result (or an error document) on stdout and progress on stderr; options have help.concurrencyconnections where the adapter allows concurrent DDL (Snowflake, BigQuery, Databricks), else 1. Phase order is unchanged.Verification
--verbose,--json(incl. error documents), mid-phase failure, per-schema statement counts, concurrent end state equal to sequential (incl. a failing rename), shortened-name event.make check-cipasses.