Repository navigation
docs: pass --builtin-policy where census, function and index examples need it - #117
Merged
Merged
Conversation
… need it Without a sqlquack.toml in the working directory, census, function, index and convert exit 2. The census example's output is re-run on main c3555dd over jaffle_shop compiled by dbt-snowflake as my_project. The policy page and the homepage's policy section keep their bare commands: each shows the policy file it runs with.
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.
Docs-only (D259). Every printed CLI command on the homepage and in the docs was run in a dbt project with no
sqlquack.toml, on main c3555dd.Fails with "no policy file at sqlquack.toml" (exit 2) and gets
--builtin-policyhere:sqlquack census target/compiled/my_project/models --schema schema.json. The printed output is re-run with the flag over jaffle_shop compiled by dbt-snowflake 1.12 as my_project: 25 files, 23 convertible, 2 refused on the SUM divergence.census target/compiled --chain-models --jsonconvert query.sql --schema schema.jsonLeft as they are:
convert due.sql --schema schema.json: each shows the policy file it runs with, and the printed output matches with that file.convert revenue.sql --schema schema.json: kept by an earlier decision; raised separately.Checks: website engine build, site build, check_figures, check_links, test:engine and generate_diagnostics --check all exit 0. Public-repository hygiene scan clean.