Skip to content

Improve Query Obj detection in Prevent Deprecated SQLA Query Hook#54843

Merged
potiuk merged 1 commit intoapache:mainfrom
Prab-27:improve-query-detection
Aug 22, 2025
Merged

Improve Query Obj detection in Prevent Deprecated SQLA Query Hook#54843
potiuk merged 1 commit intoapache:mainfrom
Prab-27:improve-query-detection

Conversation

@Prab-27
Copy link
Copy Markdown
Contributor

@Prab-27 Prab-27 commented Aug 22, 2025

Remove session check from ast if condition to detect all .query() usage
Improve the error message

Related : here


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@potiuk potiuk merged commit b0e8042 into apache:main Aug 22, 2025
48 checks passed
github-actions bot pushed a commit that referenced this pull request Aug 22, 2025
…#54843)

(cherry picked from commit b0e8042)

Co-authored-by: Pratiksha <128999446+Prab-27@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

Backport successfully created: v3-0-test

Status Branch Result
v3-0-test PR Link

potiuk pushed a commit that referenced this pull request Aug 22, 2025
…#54843) (#54844)

(cherry picked from commit b0e8042)

Co-authored-by: Pratiksha <128999446+Prab-27@users.noreply.github.com>
mangal-vairalkar pushed a commit to mangal-vairalkar/airflow that referenced this pull request Aug 30, 2025
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