Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented May 9, 2023

The #30979 added examples for Oracle, but the examples used deprecated imports to OracleOperator (and it has not been caught as provider tests did not run on changing just examples).

This PR changes the import to non-deprecated SQLExecuteQueryOperator


^ 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 newsfragments.

@potiuk
Copy link
Member Author

potiuk commented May 9, 2023

The reason why it has not failed in #30979 is because optimisations we have - we do not run all import tests in "single provider" change only I will think how to avoid that - should be possible.

@potiuk
Copy link
Member Author

potiuk commented May 9, 2023

Almost :)

The apache#30979 added examples for Oracle, but the examples used
deprecated imports to OracleOperator (and it has not been caught as
provider tests did not run on changing just examples).

This PR changes the import to non-deprecated SQLExecuteQueryOperator
@potiuk potiuk force-pushed the fix-warning-in-oracle-example branch from 2b85ce4 to 624d264 Compare May 9, 2023 20:36
@potiuk potiuk merged commit 41cb637 into apache:main May 9, 2023
@potiuk potiuk deleted the fix-warning-in-oracle-example branch May 9, 2023 21:05
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