[X] I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
Currently we are adding microbatch to the list of builtin_incremental_strategies only when the behavior flag require_batched_execution_for_custom_microbatch_strategy is set to True. However, we only want to set it True when that flag evaluates to False. This is because having the flag set to True implies by the transitive property that the project has a custom microbatch macro defined. In this situation, we don't want microbatch to be in the list of builtins because if the adapter doesn't have a builtin microbatch macro, things will break. Said another way, the only time that having microbatch in the list of builtin incremental strategies is relevant is when the flag is False.
Expected Behavior
microbatch should only be added to the list of builtin_incremental_strategies when the behavior flag require_batched_execution_for_custom_microbatch_strategy is False
Steps To Reproduce
Grab an adapter that doesn't support microbatch yet, like dbt-athena
Create a project with a custom microbatch macro
Create a microbatch incremental model
Set require_batched_execution_for_custom_microbatch_strategy to true in your project.yaml
Is this a new bug?
Current Behavior
Currently we are adding
microbatch
to the list ofbuiltin_incremental_strategies
only when the behavior flagrequire_batched_execution_for_custom_microbatch_strategy
is set to True. However, we only want to set it True when that flag evaluates to False. This is because having the flag set to True implies by the transitive property that the project has a custom microbatch macro defined. In this situation, we don't wantmicrobatch
to be in the list ofbuiltins
because if the adapter doesn't have a builtinmicrobatch
macro, things will break. Said another way, the only time that havingmicrobatch
in the list of builtin incremental strategies is relevant is when the flag is False.Expected Behavior
microbatch
should only be added to the list ofbuiltin_incremental_strategies
when the behavior flagrequire_batched_execution_for_custom_microbatch_strategy
isFalse
Steps To Reproduce
require_batched_execution_for_custom_microbatch_strategy
to true in your project.yamldbt-run
Relevant log output
No response
Environment
Additional Context
No response