Oracle DB drivers customization #41212
-
|
I've installed oracledb and instantclient (not connected), but I don't see Oracle in preferred databases and connection string raise EngineSpec error |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
The configuration options you're using ( Here's how Oracle configuration actually works in Superset: Preferred Databases: The PREFERRED_DATABASES: list[str] = ["PostgreSQL", "MySQL", "Oracle"]Driver: Superset officially supports Using What to try:
Note: To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
Beta Was this translation helpful? Give feedback.
The configuration options you're using (
SQLALCHEMY_ENGINES,ALLOWED_DB_DRIVERS) don't exist in Superset — those aren't valid config keys, which is likely why you're hitting issues.Here's how Oracle configuration actually works in Superset:
Preferred Databases: The
PREFERRED_DATABASESsetting is correct and should use the engine spec'sengine_namevalue, which is"Oracle"[1]. Your config looks correct for that part:Driver: Superset officially supports
cx_Oracle[2], notpython-oracledb. TheOracleEngineSpecusesengine = "oracle"and expects the standardoracle://SQLAlchemy URI scheme [1].Using
oracledb(python-oracle…