Skip to content

Commit 4ecd71f

Browse files
reduce buffer in pushdown predicate
1 parent ef6f571 commit 4ecd71f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/jobs/planning/tascomi_create_daily_snapshot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def purge_today_partition(
244244
# snapshot table in glue catalogue
245245
else:
246246
pushDownPredicate = create_pushdown_predicate(
247-
partitionDateColumn="snapshot_date", daysBuffer=60
247+
partitionDateColumn="snapshot_date", daysBuffer=14
248248
)
249249
# load latest snpashot
250250
snapshot_ddf = glueContext.create_dynamic_frame.from_catalog(

0 commit comments

Comments
 (0)