Skip to content

Prepare bteq command with subprocess arg list instead of string - #61624

Merged
amoghrajesh merged 2 commits into
apache:mainfrom
amoghrajesh:bteq-fix
Feb 8, 2026
Merged

amoghrajesh merged 2 commits into
apache:mainfrom
amoghrajesh:bteq-fix

Conversation

@amoghrajesh

Copy link
Copy Markdown
Contributor

Was generative AI tooling used to co-author this PR?
  • No

Fixing the subprocess execution for bteq command execution to use arg list intead of shell interpreted strings and using
shell=False, to harden the bteq execution from badly configured connection fields.


  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@potiuk

potiuk commented Feb 8, 2026

Copy link
Copy Markdown
Member

Looks good - some tests need to be fixed though

@amoghrajesh

Copy link
Copy Markdown
Contributor Author

Yep, just pushed a fix

@amoghrajesh
amoghrajesh merged commit 5f29082 into apache:main Feb 8, 2026
89 checks passed
jhgoebbert pushed a commit to jhgoebbert/airflow_Owen-CH-Leung that referenced this pull request Feb 8, 2026
…he#61624)

* Prepare bteq command with subprocess arg list instead of string

* fixing ci
Ratasa143 pushed a commit to Ratasa143/airflow that referenced this pull request Feb 15, 2026
…he#61624)

* Prepare bteq command with subprocess arg list instead of string

* fixing ci
dominikhei pushed a commit to dominikhei/airflow that referenced this pull request Mar 11, 2026
…he#61624)

* Prepare bteq command with subprocess arg list instead of string

* fixing ci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants