forked from apache/superset
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bugfix] dealing with DBAPIs that return unserilizable types (apache#…
…4200) Funky datatypes in some databases like BLOBs will have the DBAPI return python types that can't be serialized to JSON out of the box. Currently, when this happens SQL Lab fails in a bad way with a gigantic HTML error message. This allows specifying a pessimistic JSON serializer handler that will simply show "Unserializable [type]"
- Loading branch information
1 parent
889b94f
commit e9ef674
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
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