-
Notifications
You must be signed in to change notification settings - Fork 13k
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
MySQL as Backend with Druid as datasource #518
Comments
Should be related to #466 |
I ran into same issue, temporary workaround is to remove foreign key
|
Closing as duplicate of #466 |
zhaoyongjie
pushed a commit
to zhaoyongjie/incubator-superset
that referenced
this issue
Nov 17, 2021
* feat: adding style package for Emotion support * importing supersetTheme * using theme (directly) * updating encoder with direct font implementation * fixing query bug! * remove groupby * using theme via Emotion for type styles - various TS-driven refactoring * bug: whoops, this file is effectively a duplicate! * cleaning up package paths. * another relative path * nixing debug junk
zhaoyongjie
pushed a commit
to zhaoyongjie/incubator-superset
that referenced
this issue
Nov 24, 2021
* feat: adding style package for Emotion support * importing supersetTheme * using theme (directly) * updating encoder with direct font implementation * fixing query bug! * remove groupby * using theme via Emotion for type styles - various TS-driven refactoring * bug: whoops, this file is effectively a duplicate! * cleaning up package paths. * another relative path * nixing debug junk
zhaoyongjie
pushed a commit
to zhaoyongjie/incubator-superset
that referenced
this issue
Nov 25, 2021
* feat: adding style package for Emotion support * importing supersetTheme * using theme (directly) * updating encoder with direct font implementation * fixing query bug! * remove groupby * using theme via Emotion for type styles - various TS-driven refactoring * bug: whoops, this file is effectively a duplicate! * cleaning up package paths. * another relative path * nixing debug junk
zhaoyongjie
pushed a commit
to zhaoyongjie/incubator-superset
that referenced
this issue
Nov 26, 2021
* feat: adding style package for Emotion support * importing supersetTheme * using theme (directly) * updating encoder with direct font implementation * fixing query bug! * remove groupby * using theme via Emotion for type styles - various TS-driven refactoring * bug: whoops, this file is effectively a duplicate! * cleaning up package paths. * another relative path * nixing debug junk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using mysql as URI scheme in caravel_config.py, everything works fine.
I could add druid cluster. When I try to refresh druid metadata, it throws following error:
sqlalchemy.exc.InvalidRequestError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (_mysql_exceptions.IntegrityError) (1452, 'Cannot add or update a child row: a foreign key constraint fails (
caravel
.columns
, CONSTRAINTcolumns_ibfk_1
FOREIGN KEY (column_name
) REFERENCESdatasources
(datasource_name
))')On debugging, I figured out that while calling sync_to_db, DruidDatasource is trying to modify DruidColumn which I understand is not allowed.
Could some one help me if I am doing something wrong or is it a valid issue.
OS: Ubuntu 14.04
Druid: 0.9
Caravel: 0.9
Steps to reproduce.
The text was updated successfully, but these errors were encountered: