Skip to content

Conversation

@guan404ming
Copy link
Member

Related Issue

#48734 (comment)

Why

ref: https://docs.sqlalchemy.org/en/20/dialects/oracle.html#dialect-oracle-oracledb-connect

How

  • reorder the if else logic and use correct way to connect oracle in python
  • update test case

cc: @cjbj @Lee-W @jason810496 @h30306


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

Copy link

@cjbj cjbj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the new PR.

Copy link

@cjbj cjbj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine from inspection, and with my limited background into the "schema" param.

I suspect the "extra" params may need some attention, but that is also something I don't know about at the moment.

@guan404ming guan404ming force-pushed the fix-oracle-get-uri branch 2 times, most recently from 36749a0 to 505d2f7 Compare April 22, 2025 15:34
guan404ming and others added 2 commits April 25, 2025 02:06
Co-Authored-By: Christopher Jones <christopher.jones@oracle.com>
Co-Authored-By: Christopher Jones <christopher.jones@oracle.com>
@Lee-W Lee-W merged commit 77ce9fe into apache:main Apr 24, 2025
65 checks passed
@guan404ming guan404ming deleted the fix-oracle-get-uri branch April 25, 2025 03:01
@guan404ming
Copy link
Member Author

guan404ming commented Apr 25, 2025

Thanks for the review

prabhusneha pushed a commit to astronomer/airflow that referenced this pull request Apr 25, 2025
* fix: get_uri for oracle

Co-Authored-By: Christopher Jones <christopher.jones@oracle.com>

* test: remove invalid test

Co-Authored-By: Christopher Jones <christopher.jones@oracle.com>

---------

Co-authored-by: Christopher Jones <christopher.jones@oracle.com>
jroachgolf84 pushed a commit to jroachgolf84/airflow that referenced this pull request Apr 30, 2025
* fix: get_uri for oracle

Co-Authored-By: Christopher Jones <christopher.jones@oracle.com>

* test: remove invalid test

Co-Authored-By: Christopher Jones <christopher.jones@oracle.com>

---------

Co-authored-by: Christopher Jones <christopher.jones@oracle.com>
@guan404ming guan404ming changed the title fix: get_uri for oracle Fix get_uri for oracle Apr 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.

4 participants