Comments (2)
Hello @selvadinesh! I'm here to help you with any issues you may be experiencing. I'm a bot that can assist you with bug resolution, answer questions, and guide you on becoming a contributor. Let's work together to solve this problem.
Using Oracle as the metadata database in Superset can indeed present several challenges. Here are some key points and potential solutions:
-
Reserved Keyword Conflicts:
- Oracle has reserved keywords that can cause issues. For example, the keyword "decimal" can be problematic. The solution is to quote the column name to avoid conflicts. For instance:
This approach can be applied to other reserved keywords as well [1].
col = column("decimal") expr = OracleEngineSpec.get_timestamp_expr(col, None, "P1M") result = str(expr.compile(dialect=oracle.dialect())) assert result == "TRUNC(CAST(\"decimal\" as DATE), 'MONTH')"
- Oracle has reserved keywords that can cause issues. For example, the keyword "decimal" can be problematic. The solution is to quote the column name to avoid conflicts. For instance:
-
Known Limitations:
- Oracle does not support several features in Superset, such as secondary time columns, certain time grains, and CTE as a subquery, among others. These limitations are documented in the Superset repository [2].
-
Common Errors and Resolutions:
- When running
superset db upgrade
andsuperset init
, you might encounter various errors such asDatabaseInvalidError
,DatabaseExistsValidationError
, andDatabaseConnectionFailedError
. Ensure that all required fields are provided, the connection settings are correct, and the Oracle database is accessible. Detailed error messages and their resolutions can be found in the Superset repository [3].
- When running
-
Configuration Steps:
- Ensure you have the necessary Oracle database driver (
cx_Oracle
) installed. - Configure the
SQLALCHEMY_DATABASE_URI
in yoursuperset_config.py
file with the appropriate connection string for Oracle. - Set the
SUPERSET_CONFIG_PATH
environment variable to point to yoursuperset_config.py
file. - Run
superset db upgrade
andsuperset init
to apply the changes [4][5].
- Ensure you have the necessary Oracle database driver (
Given these points, while Oracle is not officially supported and may require additional workarounds, following the above steps and being aware of the limitations can help mitigate some of the issues you are encountering.
To continue talking to Dosu, mention @dosu.
from superset.
I know we need to use MySQL or PostgreSQL. My firm wants to use Oracle.
You have a good handle on this. There is no plan to support Oracle as a metadata store DB, so I'm going to close this issue. If you were to go that route and somehow get it working, there would be no community support available and it's always possible that subsequent changes would break something that previously worked.
I can relate, my org uses MS SQL Server exclusively for application DBs. We decided that to set up a managed PostgreSQL DB in order to use Superset. For what it's worth, the amount of knowledge of PostgreSQL needed to maintain a Superset instance is very low.
from superset.
Related Issues (20)
- Failed to setup alerts and reports based pypi installation HOT 6
- 4.0.1: Alerting and reports does not take EMAIL RECIPIENTS* HOT 4
- Filter does not follow label HOT 1
- [SIP-138] Proposal for Slack file upload V2 integration for Alerts and Reports HOT 2
- [SIP-139] Proposal for Ant Design 5.x Upgrade HOT 4
- On KILL QUERY error "expected string or bytes-like object" in Clickhouse DB HOT 1
- build fails when using docker compose up HOT 7
- Blank Charts while loading dashboard HOT 2
- Warning when upgrading DB HOT 1
- 500 error and unexpected keyword argument 'extra_filters' HOT 3
- sqlalchemy.exc.ArgumentError HOT 1
- Thumbnails work for Dashboards, not for charts HOT 1
- Unable to set role permissions for new schema unless a new connection is created. HOT 1
- Superset Login Redirect After Guest Token Usage in Angular Iframe HOT 1
- start of production no possible due to errors in docker-compose-non-dev.yml and docker/.env HOT 3
- Data Misalignment When Applying Filter HOT 5
- PLAYWRIGHT_REPORTS_AND_THUMBNAILS grey output for dashboards HOT 4
- Superset 3.1.3: Long Dashboards render blank thumbnails unless Dashboard length is reduced HOT 4
- Changing to non-temporal variable, then back, causes time grain to no longer function in 4.0.2rc2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superset.