aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.etl/iterative_reconf_rls2410.py
diff options
context:
space:
mode:
Diffstat (limited to 'csit.infra.etl/iterative_reconf_rls2410.py')
-rw-r--r--csit.infra.etl/iterative_reconf_rls2410.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/csit.infra.etl/iterative_reconf_rls2410.py b/csit.infra.etl/iterative_reconf_rls2410.py
index 0781da21b9..41d2aedcc1 100644
--- a/csit.infra.etl/iterative_reconf_rls2410.py
+++ b/csit.infra.etl/iterative_reconf_rls2410.py
@@ -41,15 +41,9 @@ IGNORE_SUFFIX=[
"setup.output.info.json.gz",
"teardown.output.info.json.gz"
]
-#LAST_MODIFIED_END=utc.localize(
-# datetime.strptime(
-# f"{datetime.now().year}-{datetime.now().month}-{datetime.now().day}",
-# "%Y-%m-%d"
-# )
-#)
LAST_MODIFIED_END=utc.localize(
datetime.strptime(
- f"{datetime.now().year}-9-27",
+ f"{datetime.now().year}-{datetime.now().month}-{datetime.now().day}",
"%Y-%m-%d"
)
)
@@ -154,8 +148,8 @@ out_sdf.show(truncate=False)
out_sdf.printSchema()
out_sdf = out_sdf \
.withColumn("year", lit(datetime.now().year)) \
- .withColumn("month", lit("9")) \
- .withColumn("day", lit("27")) \
+ .withColumn("month", lit(datetime.now().month)) \
+ .withColumn("day", lit(datetime.now().day)) \
.repartition(1)
try: