Repository navigation
feat: default sqb diff to the active target and a size-guarded full comparison - #976
Merged
Merged
Conversation
…omparison A bare FROM compares with the active target. Without a mode flag, model diffs run a full comparison only after each table's metadata row count is within the per-target [targets.<name>.diff] max_full_rows limit (10,000,000 by default, or "unlimited"). Adapters report row counts through estimate_relation_row_count. --key and --exclude-column now take several values.
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
Model-mode
sqb diffrequired aFROM:TOrange and exactly one of--full,--schema-onlyor--bounded, and--key/--exclude-columnhad to be repeated for each value.Changes
sqb diff prod -s xcomparesprodwith the active target, assqb clone --fromdoes;FROM:TOkeeps working.--full,--boundedand--schema-onlybypass the guard.[targets.<name>.diff] max_full_rows(positive integer or"unlimited", default 10,000,000), overridable insqlbuild_local.toml.--keyand--exclude-columntake several values.cli/diff,concepts/diffand project configuration.Verification
fensu checkandmake check-ci.