You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when matched
and DBT_INTERNAL_DEST.dbt_valid_to is null
and DBT_INTERNAL_SOURCE.dbt_change_type in ('update', 'delete')
then update
set dbt_valid_to = DBT_INTERNAL_SOURCE.dbt_valid_to
Describe the feature
The SQL generated for updating records in merge statements generated by snapshots does not work on SQL Server.
Describe alternatives you've considered
I want it to work on SQL Server as well as all other databases.
Additional context
This applies to SQL Server, but it could be better written anyway to not confuse developers.
Who will this benefit?
SQL Server dbt users
Are you interested in contributing this feature?
I can make a PR solving this
The text was updated successfully, but these errors were encountered: