From fd2d2bd5c4b12be081c00b2b2bfdb00ff056135d Mon Sep 17 00:00:00 2001 From: Laysa de Sousa Bitencourt Date: Fri, 12 Apr 2024 13:20:05 -0300 Subject: [PATCH] -f1 attempted --- dags/stellar_etl_airflow/build_export_task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dags/stellar_etl_airflow/build_export_task.py b/dags/stellar_etl_airflow/build_export_task.py index 0fec56d9..9077f432 100644 --- a/dags/stellar_etl_airflow/build_export_task.py +++ b/dags/stellar_etl_airflow/build_export_task.py @@ -214,7 +214,7 @@ def build_export_task( else: arguments = """ {0} 2>> stderr.out && cat stderr.out && echo "{{\\"output\\": \\"{1}\\", - \\"attempted_transforms\\": `grep attempted_transforms stderr.out | cut -d\\",\\" -f2 | cut -d\\":\\" -f2`, + \\"attempted_transforms\\": `grep attempted_transforms stderr.out | cut -d\\",\\" -f1 | cut -d\\":\\" -f2`, \\"failed_transforms\\": `grep failed_transforms stderr.out | cut -d\\",\\" -f2 | cut -d\\":\\" -f2`}}" >> /airflow/xcom/return.json """.format( etl_cmd_string, output_file