diff --git a/.changes/unreleased/Fixes-20241112-141109.yaml b/.changes/unreleased/Fixes-20241112-141109.yaml new file mode 100644 index 00000000..46df4e48 --- /dev/null +++ b/.changes/unreleased/Fixes-20241112-141109.yaml @@ -0,0 +1,6 @@ +kind: Fixes +body: Negate the check for microbatch behavior flag in determining builtins +time: 2024-11-12T14:11:09.341634-06:00 +custom: + Author: QMalcolm + Issue: 349 diff --git a/dbt/adapters/base/impl.py b/dbt/adapters/base/impl.py index c8457e2f..752389c1 100644 --- a/dbt/adapters/base/impl.py +++ b/dbt/adapters/base/impl.py @@ -1579,7 +1579,7 @@ def valid_incremental_strategies(self): def builtin_incremental_strategies(self): builtin_strategies = ["append", "delete+insert", "merge", "insert_overwrite"] - if self.behavior.require_batched_execution_for_custom_microbatch_strategy.no_warn: + if not self.behavior.require_batched_execution_for_custom_microbatch_strategy.no_warn: builtin_strategies.append("microbatch") return builtin_strategies