Skip to content
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

StarRocks database doesn't show up after adding starrocks driver #24015

Closed
alberttwong opened this issue May 11, 2023 · 7 comments
Closed

StarRocks database doesn't show up after adding starrocks driver #24015

alberttwong opened this issue May 11, 2023 · 7 comments
Labels
#bug Bug report

Comments

@alberttwong
Copy link

StarRocks database doesn't show up after adding starrocks driver

How to reproduce the bug

Followed https://superset.apache.org/docs/databases/docker-add-drivers and echo "starrocks">> ./docker/requirements-local.txt

Expected results

I would see StarRocks in the Sources > Databases > + icon (to add a new datasource) in Superset.

Actual results

Not listed.

Screenshots

Screenshot 2023-05-10 at 5 11 19 PM

Environment

Using docker compose image.

@alberttwong
Copy link
Author

alberttwong commented May 11, 2023

the "starrocks" driver should be there per #23209

@alberttwong
Copy link
Author

When using single quickstart superset image, I can add the driver.

atwong@Albert-CelerData ~ % docker exec -it superset bash
superset@8a414c46c3de:/app$ pip install starrocks
Defaulting to user installation because normal site-packages is not writeable
Collecting starrocks
  Downloading starrocks-1.0.5-py3-none-any.whl (10 kB)
Requirement already satisfied: mysqlclient<3,>=2.1.0 in /usr/local/lib/python3.9/site-packages (from starrocks) (2.1.0)
Requirement already satisfied: sqlalchemy-utils<0.39,>=0.38.3 in /usr/local/lib/python3.9/site-packages (from starrocks) (0.38.3)
Requirement already satisfied: sqlalchemy<2,>=1.4 in /usr/local/lib/python3.9/site-packages (from starrocks) (1.4.36)
Requirement already satisfied: greenlet!=0.4.17 in /usr/local/lib/python3.9/site-packages (from sqlalchemy<2,>=1.4->starrocks) (3.0.1)
Installing collected packages: starrocks
Successfully installed starrocks-1.0.5

[notice] A new release of pip is available: 23.0.1 -> 23.3.1
[notice] To update, run: pip install --upgrade pip

@alberttwong
Copy link
Author

there are outstanding issues with running docker compose on Mac M2 chips. #26170 so I can only run single superset quickstart image.

@alberttwong
Copy link
Author

alberttwong commented Dec 5, 2023

driver load issue #26185

@alberttwong
Copy link
Author

@miomiocat FYI

@alberttwong
Copy link
Author

the answer that you can run docker compose on Mac ARM M2 using docker compose -f docker-compose-non-dev.yml up

@alberttwong
Copy link
Author

atwong@Albert-CelerData superset % touch ./docker/requirements-local.txt
atwong@Albert-CelerData superset % echo "starrocks" >> ./docker/requirements-local.txt
atwong@Albert-CelerData superset % pwd
/Users/atwong/sandbox/superset

Screenshot 2023-12-05 at 12 40 02 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report
Projects
None yet
Development

No branches or pull requests

1 participant