Skip to content

fix: allow key-only hard deletes with required columns#4221

Open
Sanjays2402 wants to merge 1 commit into
dlt-hub:develfrom
Sanjays2402:fix/1066-key-only-hard-delete
Open

fix: allow key-only hard deletes with required columns#4221
Sanjays2402 wants to merge 1 commit into
dlt-hub:develfrom
Sanjays2402:fix/1066-key-only-hard-delete

Conversation

@Sanjays2402

Copy link
Copy Markdown

Description

Allow key-only hard-delete rows to pass through normalization and SQL staging without relaxing destination constraints. Non-key staging columns are made nullable, and legacy staging tables with stale NOT NULL payload constraints are recreated before loading.

Related Issues

Additional Context

The merge-disposition suite passes on DuckDB for both insert-values and Parquet paths: 76 passed, 9 skipped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

key-only delete records don't work with non-nullable columns

1 participant