require_partition_filter=true
with the insert_overwrite
strategy doesn't work
#64
Labels
type:bug
Something isn't working
Describe the bug
When running an incremental model with the
insert_overwrite
strategy and therequire_partition_filter=true
option, it seems that therequire_partition_filter
option is applied to the temporary table.Steps To Reproduce
insert_overwrite
dbt run -s test_insert_overwrite
twiceExpected behavior
A clear and concise description of what you expected to happen.
Screenshots and log output
The query below was generated when the second time execution of the incremental model. As we can see, the query to create the temporary table
test_insert_overwrite__dbt_tmp
includesrequire_partition_filter=true
, because the macro to generate iscreate_table_as
. Thecreate_table_as
macro automatically applies all the same options to even the temporary table.System information
The output of
dbt --version
:The operating system you're using:
The output of
python --version
:Additional context
The text was updated successfully, but these errors were encountered: