Skip to content

Commit

Permalink
changed positions
Browse files Browse the repository at this point in the history
  • Loading branch information
laysabit committed Apr 12, 2024
1 parent 534018e commit a787bcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dags/stellar_etl_airflow/build_export_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ def build_export_task(
else:
arguments = """
{0} 2>> stderr.out && cat stderr.out && echo "{{\\"output\\": \\"{1}\\",
\\"failed_transforms\\": `grep failed_transforms stderr.out | cut -d\\",\\" -f2 | cut -d\\":\\" -f2`,
\\"attempted_transforms\\": `grep attempted_transforms stderr.out | cut -d\\",\\" -f2 | cut -d\\":\\" -f2`}}" >> /airflow/xcom/return.json
\\"attempted_transforms\\": `grep attempted_transforms stderr.out | cut -d\\",\\" -f2 | 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
)
Expand Down

0 comments on commit a787bcc

Please sign in to comment.