-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Smarter redirect on slice creation (#691)
After ea8a7ec creating a slice started redirecting to druid datasource from sqlalchemy tables. That's quite painful for sqlalchemy tables users. Instead of hardcoding a choice just query the db, if we don't have any druid datasource fallback to sqlalchemy tables. Bonus points we remove hacky javascript and make the message translatable. While at it fix druid client test to not hardcode datasource id.
- Loading branch information
1 parent
862042b
commit e7ce38b
Showing
3 changed files
with
45 additions
and
9 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters