Skip to content

Commit

Permalink
#1115 invalid escape sequence - here
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielwol committed Dec 17, 2024
1 parent 8f0949b commit 18f2073
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dags/pull_here.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def load_data_run()->str:
os.environ['HOST'] = conn.host
os.environ['USER'] = conn.login
os.environ['PGPASSWORD'] = conn.password
return '''curl $DOWNLOAD_URL | gunzip | psql -h $HOST -U $USER -d bigdata -c "\COPY here.ta_view FROM STDIN WITH (FORMAT csv, HEADER TRUE);" '''
return '''curl $DOWNLOAD_URL | gunzip | psql -h $HOST -U $USER -d bigdata -c "\\COPY here.ta_view FROM STDIN WITH (FORMAT csv, HEADER TRUE);" '''

# Create a task group for triggering the DAGs
@task_group(group_id='trigger_dags_tasks')
Expand Down
2 changes: 1 addition & 1 deletion dags/pull_here_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def load_data()->str:
os.environ['HOST'] = conn.host
os.environ['USER'] = conn.login
os.environ['PGPASSWORD'] = conn.password
return '''curl $DOWNLOAD_URL | gunzip | psql -h $HOST -U $USER -d bigdata -c "\COPY here.ta_path_view FROM STDIN WITH (FORMAT csv, HEADER TRUE);" '''
return '''curl $DOWNLOAD_URL | gunzip | psql -h $HOST -U $USER -d bigdata -c "\\COPY here.ta_path_view FROM STDIN WITH (FORMAT csv, HEADER TRUE);" '''

load_data()

Expand Down

0 comments on commit 18f2073

Please sign in to comment.