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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]