diff --git a/models/marts/enriched_history/enriched_history_operations.sql b/models/marts/enriched_history/enriched_history_operations.sql index bae5ef5..41efc8d 100644 --- a/models/marts/enriched_history/enriched_history_operations.sql +++ b/models/marts/enriched_history/enriched_history_operations.sql @@ -6,7 +6,8 @@ "field": "closed_at" , "data_type": "timestamp" , "granularity": "month"}, - cluster_by=["ledger_sequence","transaction_id","op_account_id","type"] + cluster_by=["ledger_sequence","transaction_id","op_account_id","type"], + on_schema_change="append_new_columns" ) }} diff --git a/models/marts/enriched_history/enriched_history_operations_soroban.sql b/models/marts/enriched_history/enriched_history_operations_soroban.sql index a3e3845..848cf40 100644 --- a/models/marts/enriched_history/enriched_history_operations_soroban.sql +++ b/models/marts/enriched_history/enriched_history_operations_soroban.sql @@ -6,7 +6,8 @@ "field": "closed_at" , "data_type": "timestamp" , "granularity": "month"}, - cluster_by=["ledger_sequence", "transaction_id", "op_type"] + cluster_by=["ledger_sequence", "transaction_id", "op_type"], + on_schema_change="append_new_columns" ) }}