Skip to content

Commit

Permalink
patch snapshot bug
Browse files Browse the repository at this point in the history
  • Loading branch information
luutuankiet committed Jan 28, 2025
1 parent 7e3c316 commit 92370bf
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 53 deletions.
30 changes: 30 additions & 0 deletions snapshots/snapshots.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
snapshots:
- name: "snp_tasks_raw"
relation: source('raw_data', 'tasks_raw')
config:
schema: snapshots
unique_key: id
strategy: check
check_cols:
- id
invalidate_hard_deletes: true

- name: "snp_lists_raw"
relation: source('raw_data', 'lists_raw')
config:
schema: snapshots
unique_key: id
strategy: check
check_cols:
- id
invalidate_hard_deletes: true

- name: "snp_folders_raw"
relation: source('raw_data', 'folders_raw')
config:
schema: snapshots
unique_key: id
strategy: check
check_cols:
- id
invalidate_hard_deletes: true
17 changes: 0 additions & 17 deletions snapshots/snp_folders_raw.sql

This file was deleted.

18 changes: 0 additions & 18 deletions snapshots/snp_lists_raw.sql

This file was deleted.

18 changes: 0 additions & 18 deletions snapshots/snp_tasks_raw.sql

This file was deleted.

0 comments on commit 92370bf

Please sign in to comment.