Skip to content

Commit fda0eea

Browse files
committed
comments
1 parent 3f2b712 commit fda0eea

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/jobs/planning/tascomi_create_daily_snapshot.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def loadIncrementsSinceDate(
180180
glueContext, snapshot_table_name, source_catalog_database
181181
):
182182
logger.info(
183-
f"Couldn't find table {snapshot_table_name} in database {source_catalog_database}, creating a snapshot from all the increments, starting from 30 days ago"
183+
f"Couldn't find table {snapshot_table_name} in database {source_catalog_database}, creating a snapshot from all the increments, starting from 20210101"
184184
)
185185
# Increment table does not exist in glue catalogue
186186
if not table_exists_in_catalog(
@@ -190,6 +190,8 @@ def loadIncrementsSinceDate(
190190
f"No snapshot and no increment for {increment_table_name}, going to the next table"
191191
)
192192
continue
193+
194+
# Load increments from default date
193195
increment_df = loadIncrementsSinceDate(
194196
increment_table_name=increment_table_name,
195197
name_space=source_catalog_database,

0 commit comments

Comments
 (0)