fix: delete+insert for dw.fact_stock_minute
All checks were successful
MJN/finance-dbt/pipeline/head This commit looks good

This commit is contained in:
沈楠 2024-07-25 11:01:46 +00:00
parent ec07e9ca89
commit 73acc42232

View File

@ -4,7 +4,7 @@
engine='MergeTree',
order_by='(time_id, ts_code)',
unique_key=['time_id', 'ts_code'],
incremental_strategy='append',
incremental_strategy='delete+insert',
partition_by=['toYYYYMM(toDateTime(time_id))'],
query_settings={
"join_algorithm": "'full_sorting_merge'",