adapters w/o boolean support can't use 'check' strategy on snapshots with new columns #4488
Labels
enhancement
New feature or request
jira
Team:Adapters
Issues designated for the adapter area of the code
Milestone
I'm surprised no dbt-sql server user ever reports this issue before, but this
TRUE
causes problems for SQL dialects that don't support boolean types. related: dbt-msft/dbt-sqlserver#186 thanks to @oscar-konig for making a reproducible example that led to this fix!Rather than asking adapter maintainers to override
snapshot_check_strategy
, a better answer would be a simple macro for generating a boolean expression with the default of course beingTRUE
, but in non-core adapters, it could be1=1
dbt-core/core/dbt/include/global_project/macros/materializations/snapshots/strategies.sql
Lines 157 to 174 in 0ed14fa
The text was updated successfully, but these errors were encountered: