-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not makedsn for query_runner/oracle.py #6332
Conversation
in host == "_donotmakedsn"
The idea here seems to be that when a hostname of While it sounds like it would work, is this a good approach? I'm not sure, but it feels to me like maybe the Oracle data source could have some different config option(s). Maybe something to directly choose a servicename instead of a hostname? That's just my rough guessing anyway. 😄 |
I think this is a change aimed at greater flexibility of connecting to the Oracle database. For my part, I would like to see a description of the possibility somewhere so that more people know about this possibility. And did not use 1 person :) |
I thought the same thing. So, this time, I decided not to do makedsn. |
@konnectr added Comment in Settings menu. |
That string looks a bit ugly in the screenshot. I think the Would you be ok to try this?
I think that will look a bit better in the screenshot. The If you have the Python dependencies installed, then https://github.com/getredash/redash/wiki/Local-development-setup#configuring-pre-commit The |
It certainly looks, not very desirable. |
That is probably the best we can do for the UI for now. 😄 |
I'll try this one too. |
The failure of the GitHub has not been 100% reliable over the last few weeks. 😦 I'll wait a few minutes, then restart that test. |
Codecov Report
@@ Coverage Diff @@
## master #6332 +/- ##
==========================================
- Coverage 60.75% 60.74% -0.01%
==========================================
Files 153 153
Lines 12511 12513 +2
Branches 1694 1695 +1
==========================================
Hits 7601 7601
- Misses 4684 4686 +2
Partials 226 226
|
Merged! Thanks for this @snickerjp, it's a good idea. 😄 |
Thanks for your help. |
What type of PR is this?
Description
change for redash/query_runner/oracle.py
Do not makedsn for Autonomous Database or FAILOVER,LOAD_BALANCE
When type "_useservicename" in the
host
, self.configuration["servicename"] is used instead.How is this tested?
Related Tickets & Documents
Connecting to Oracle Database — cx_Oracle 8.3.0 documentation
Mobile & Desktop Screenshots/Recordings (if there are UI changes)