You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2018/06/02 19:04:15 UTC

[GitHub] hughhhh commented on a change in pull request #5121: [sql lab] Fix issue around VARBINARY type in Presto

hughhhh commented on a change in pull request #5121: [sql lab] Fix issue around VARBINARY type in Presto
URL: https://github.com/apache/incubator-superset/pull/5121#discussion_r192567575
 
 

 ##########
 File path: superset/utils.py
 ##########
 @@ -323,6 +322,11 @@ def base_json_conv(obj):
         return str(obj)
     elif isinstance(obj, timedelta):
         return str(obj)
+    elif isinstance(obj, bytes):
+        try:
 
 Review comment:
   Can we get a unit test here? Also don't we want to raise the error vs. swallow by sending `[bytes]` or even put some type of `logger.error()`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org