Repository navigation
docs(databricks): plan binds dbt projects and refuses what apply refuses - #335
Merged
Merged
Conversation
fluid plan of a contract file binds each dbt build's project and runs the refusals fluid apply's OpenTofu emitter raises, so a refused contract fails the plan. fluid apply refuses a project that changed, is missing or was not bound. fluid verify says where a dbt-built table's NOT NULL belongs, and the dbt job's per-rule report says what it could not read. The dbt upload sizes a file before it reads it, a results-alert folder is checked before it is made, and a few warnings and failure texts are clearer. Not yet in a release. Signed-off-by: Speculator55005 <50082482+fas89@users.noreply.github.com>
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.
What
Documents forge-cli #1188, which is open and not merged (head e4bed6c0d, on
mainat 528822e1b). This pull request stays a draft until it merges, and is checked against the merged files then.docs/cli/plan.md:fluid planof a contract file records the dbt projects its builds run (dbtProjects, underplanDigest) and says why a project is unbound. A new section, "Whatfluid planrefuses", for the offline check of whatfluid apply's OpenTofu emitter refuses: what fails the plan, what only warns because it depends on where apply runs, the project refusals of a Databricks job build, the--providermismatch, and the AWS Glue jar prefix, which is reported after the contract's own refusals.docs/cli/apply.md,docs/cli/bundle.md,docs/advanced/operating-in-ci.md,docs/advanced/production-troubleshooting.md: the three refusals of a plan whose dbt project changed, is missing or was never bound (apply_plan_digest_dbt_project_changed,_missing,_unbound), the dry-run warning, and planning and applying in one checkout.docs/cli/verify.md,docs/providers/databricks.md: the NOT NULL hint for a dbt-built Databricks table and its two JSON keys; what the dbt job's per-rule report says when a task's output could not be read, and that only a test's own line counts; the refusal fixes that work with contract rules; the upload that sizes each file before it reads it; the shape of the error codefluid diffrepeats.docs/providers/aws.md,docs/advanced/spark-iceberg-aws.md,docs/sdk-and-plugins/reference/entry-points.md: the AWS plan-time refusals and the order of the jar prefix, and the optionalemit_refusalsandenvironment_refusalscapabilities of a provider plugin.docs/cli/test.md: a results-alert folder is checked before it is made, and the/Workspace/Sharedrefusal stops advising a permission change.docs/advanced/project-dotenv-trust.md,docs/cli/diff.md,docs/cli/doctor.md: the host warning that says how to unset the profile, and which codes a preflight failure repeats.docs/upgrading.md, "Not in a release yet": a bullet for each change a reader notices.Validation
fluid planof a contract file with a dbt build recordsdbtProjectsand printsdbt project boundordbt project NOT bound;fluid apply plan.jsonrefuses a changed, missing or unbound project in each apply mode, and a dry run warns instead.fluid planof a Databricks job build from a local repository exits 1 with noplan.jsonfor a missing project, a symbolic link, a file over 2 MiB, an unreadable file and a project over 1000 files. The same contract planned as a bundle away from its<bundle>.provenance.jsonwarns and writes the plan.--providermismatch (generate_iac_provider_mismatch) and the AWS refusals at plan; an unset Glue jar prefix alone and beside a second refusal, influid plan,fluid applyandfluid generate iac.scripts/check_cli_docs.pyin every mode (againstdata-product-forge==0.44.0, the release sweep against forge-cli'sCHANGELOG.mdat 528822e1b),scripts/check_providers.py,scripts/gen_contract_reference.py --check, the offline link check on the route mirror,npm run docs:buildandnode scripts/check-dist-links.mjs: pass.Not run: a live Databricks workspace or AWS account, a real dbt run, and a full
fluid applyagainst either.