Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
laysabit committed Apr 4, 2024
1 parent 166d6e3 commit 5570159
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 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,7 @@ def build_export_task(
else:
arguments = f"""
{etl_cmd_string} 2>> stderr.out && cat stderr.out && echo "{{\\"output\\": \\"{output_file}\\",
\\"failed_transforms\\": `grep failed_transforms stderr.out | cut -d\\",\\" -f2 | cut -d\\":\\" -f2`\\",
\\"successful_transforms\\": `grep successful_transforms stderr.out | cut -d\\":\\" -f2`}}" >> /airflow/xcom/return.json
\\"failed_transforms\\": `grep failed_transforms stderr.out | cut -d\\",\\" -f2 | cut -d\\":\\" -f2`}}" >> /airflow/xcom/return.json
"""
return KubernetesPodOperator(
service_account_name=Variable.get("k8s_service_account"),
Expand Down

0 comments on commit 5570159

Please sign in to comment.