Skip to content

Commit

Permalink
altera unique_key
Browse files Browse the repository at this point in the history
  • Loading branch information
akaBotelho committed Jan 10, 2025
1 parent a6f94bb commit 9d87e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queries/models/transito/autuacao.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
config(
materialized="incremental",
partition_by={"field": "data", "data_type": "date", "granularity": "day"},
unique_key="id_autuacao",
unique_key=["id_autuacao", "status_infracao", "data_pagamento"],
incremental_strategy="insert_overwrite",
)
}}
Expand Down

0 comments on commit 9d87e3b

Please sign in to comment.