fix: rename dead `skip_non_matched_step` config to `skip_not_matched_step`
Description
DatabricksConfig declared the merge config field as skip_non_matched_step ("non"), but the incremental merge strategy macro has always read skip_not_matched_step ("not") (dbt/include/databricks/macros/materializations/incremental/strategies.sql). The declared field was therefore dead, and the key the macro actually consumes was missing from the adapter's config schema.
This renames the field to skip_not_matched_step so the adapter advertises the exact key the macro reads. The macro already read the correct key, so merge behavior is unchanged — this only fixes which key the adapter recognizes as valid (e.g. for dbt-core's jsonschema config validation). No backward-compat shim is needed: the typo'd key never had any effect, so nothing depends on it.
Testing:
- New unit test
tests/unit/test_adapter.py::test_databricks_config_declares_skip_not_matched_step(red before the rename, green after). - Existing
TestSkipNotMatched/TestSkipMatchedfunctional tests pass against a SQL warehouse, confirming merge behavior is unchanged.
Checklist
- [x] I have run this code in development and it appears to resolve the stated issue
- [x] This PR includes tests, or tests are not required/relevant for this PR
- [x] I have updated the
CHANGELOG.mdand added information about my change to the topmost(TBD)section.
Coverage report
This report was generated by python-coverage-comment-action
Click to see where and how coverage changed
File Statements Missing Coverage Coverage
(new stmts)Lines missing
dbt/adapters/databricks
impl.py
Project Total