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/27 23:03:33 UTC

[GitHub] hughhhh commented on a change in pull request #5302: [DeckGL] Raise error with null values

hughhhh commented on a change in pull request #5302: [DeckGL] Raise error with null values
URL: https://github.com/apache/incubator-superset/pull/5302#discussion_r198666701
 
 

 ##########
 File path: superset/viz.py
 ##########
 @@ -2107,6 +2108,10 @@ def tupleify(s):
             df[key] = list(zip(latlong.apply(lambda x: x[0]),
                                latlong.apply(lambda x: x[1])))
             del df[spatial.get('geohashCol')]
+
+        if df[key] is None:
+            raise NullValueException('Some rows in this query contain NULL values!')
 
 Review comment:
   Is there a python lib for ` i18n`? i thought is was only available for JS, i was searching the code for some example and couldn't find any.

----------------------------------------------------------------
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