Comments (2)
The reason you can't find the Apache Doris option in the SUPPORTED DATABASES after following the documentation to pip install pydoris and restarting the Docker container is likely because the DorisEngineSpec
class is not registered in the Superset configuration.
To resolve this, you need to ensure that the DorisEngineSpec
is imported and registered in the superset/config.py
or superset/config_override.py
file. Here is an example of how you can do this:
from superset.db_engine_specs.doris import DorisEngineSpec
DATABASES = {
'doris': DorisEngineSpec,
# other database specs...
}
Additionally, make sure you have followed the steps to install the database driver in the Docker container as described in the Superset documentation. Specifically, you need to add the pydoris
package to the requirements-local.txt
file in the docker
directory and rebuild the Docker image:
-
Create or update the
requirements-local.txt
file in thedocker
directory:echo "pydoris" >> ./docker/requirements-local.txt
-
Rebuild the Docker image:
docker compose build --force-rm
-
Restart the Superset service:
docker compose up
After making these changes and restarting the Superset service, the Apache Doris option should be available in the SUPPORTED DATABASES. Additionally, ensure that the docs/src/resources/data.js
file includes Apache Doris in the list of supported databases:
export const Databases = [
// other databases...
{
title: 'Apache Doris',
href: 'https://doris.apache.org/',
imgName: 'doris.png',
},
];
To continue talking to Dosu, mention @dosu.
from superset.
Hi @chenjiehao, thanks for reporting! I wasn't able to reproduce this on my local. Can you run pip list
and check the version?
(superset) superset % pip list | grep pydoris
pydoris 1.0.5.3
Then this is what you should see in the dropdown:
from superset.
Related Issues (20)
- Creating thread in superset_config.py freezes app HOT 2
- No module named 's3cache' HOT 8
- "user_favorite_tag" table not created after "superset db upgrade" when upgrade superset 3.0.1 to 4.0.2 on docker HOT 4
- [SIP] Global Async Task Framework HOT 11
- Hash mismatch error during build part of docker installation HOT 3
- [4.0.2] SQL LAB int argument error since version 4 HOT 3
- Bug crossing lines in line/area chart HOT 2
- Slack HOT 4
- Duplicated entries in Alerts & Reports execution log HOT 1
- /api/v1/dashboard/{id_or_slug}/copy with "duplicate_slices" = true not working because The "json_metadata" take from /api/v1/dashboard/{id_or_slug} doesn't have "positions" HOT 4
- Bar Chart: Bar Chart Echart X Axis and Y Axis labels not showing HOT 3
- The default URL generated by Dashboard has security risks! HOT 22
- Advanced Period filter bug HOT 2
- Switching languages doesn't take effect on some menu elements if BABEL_DEFAULT_LOCALE is not "en" HOT 11
- ENABLE_JAVASCRIPT_CONTROLS use HOT 2
- [SIP-144] Proposal to Integrate VisActor Visualization Plugin into Superset HOT 2
- Dashboard Color Scheme keeps changing every refresh HOT 4
- Bug: fetchGuestToken function is not called after internet is disconnected and error is encountered during embedded report access HOT 3
- The in-memory storage for tracking rate limits HOT 14
- Filtered value not appearing after selected from dropdown HOT 5
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.