Skip to content

Commit

Permalink
cut -d\\",\\" -f3
Browse files Browse the repository at this point in the history
  • Loading branch information
laysabit committed Apr 11, 2024
1 parent e487225 commit 49aa04c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dags/stellar_etl_airflow/build_export_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def build_export_task(
arguments = """
{0} 2>> stderr.out && cat stderr.out && echo "{{\\"output\\": \\"{1}\\",
\\"failed_transforms\\": `grep failed_transforms stderr.out | cut -d\\",\\" -f2 | cut -d\\":\\" -f2`,
\\"successful_transforms\\: `grep successful_transforms stderr.out | cut -d\\":\\" -f3 | cut -d\\":\\" -f2 | tr -d \"}}\" ` }}" >> /airflow/xcom/return.json
\\"successful_transforms\\: `grep successful_transforms stderr.out | cut -d\\",\\" -f3 | cut -d\\":\\" -f2 | tr -d \"}}\" ` }}" >> /airflow/xcom/return.json
""".format(
etl_cmd_string, output_file
)
Expand Down

0 comments on commit 49aa04c

Please sign in to comment.