Skip to content
Discussion options

You must be logged in to vote

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_DATABASES setting is correct and should use the engine spec's engine_name value, which is "Oracle" [1]. Your config looks correct for that part:

PREFERRED_DATABASES: list[str] = ["PostgreSQL", "MySQL", "Oracle"]

Driver: Superset officially supports cx_Oracle [2], not python-oracledb. The OracleEngineSpec uses engine = "oracle" and expects the standard oracle:// SQLAlchemy URI scheme [1].

Using oracledb (python-oracle…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@rsaleev
Comment options

@rsaleev
Comment options

@dosubot
Comment options

Answer selected by rsaleev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant