From 44ba652225bcf37dc3748ab62636a9a141421227 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Tue, 1 Oct 2024 08:49:00 +0200 Subject: revert(etl): Manual Signed-off-by: Peter Mikus Change-Id: I42ab6a9db31dabcb4928798cb1ef77dd7f37deb5 --- csit.infra.etl/coverage_soak_rls2410.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'csit.infra.etl/coverage_soak_rls2410.py') diff --git a/csit.infra.etl/coverage_soak_rls2410.py b/csit.infra.etl/coverage_soak_rls2410.py index d89b11b602..5dc9fb7ed0 100644 --- a/csit.infra.etl/coverage_soak_rls2410.py +++ b/csit.infra.etl/coverage_soak_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" ) ) @@ -153,8 +147,8 @@ out_sdf = process_json_to_dataframe("soak", filtered_paths) 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: -- cgit 1.2.3-korg