Skip to content

Commit

Permalink
escape char
Browse files Browse the repository at this point in the history
  • Loading branch information
laysabit committed Apr 11, 2024
1 parent 0db9d1a commit ff568ee
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 @@ -216,7 +216,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 | sed \\"s/{2}//g\\"`}}" >> /airflow/xcom/return.json
\\"successful_transforms\\: `grep successful_transforms stderr.out | cut -d\\",\\" -f3 | cut -d\\":\\" -f2 | sed \"s/{2}//g\"`}}" >> /airflow/xcom/return.json
""".format(
etl_cmd_string, output_file, char
)
Expand Down

0 comments on commit ff568ee

Please sign in to comment.