You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Len Frodgers (JIRA)" <ji...@apache.org> on 2017/03/08 16:09:38 UTC
[jira] [Commented] (SPARK-13740) add null check for _verify_type in
types.py
[ https://issues.apache.org/jira/browse/SPARK-13740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15901490#comment-15901490 ]
Len Frodgers commented on SPARK-13740:
--------------------------------------
Thanks for the fix, but IMO the error message is so poor as to render this fix worse than the original behaviour.
Error: "This field is not nullable, but got None" -- but what is the field?!
In a dataframe with many non-nullable fields, it is a nightmare trying to hunt down which field is null, since one has to resort to basic (and very slow) trial and error.
I will happily create a PR to fix this.
Let me know if I should create a new issue for this.
> add null check for _verify_type in types.py
> -------------------------------------------
>
> Key: SPARK-13740
> URL: https://issues.apache.org/jira/browse/SPARK-13740
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Wenchen Fan
> Assignee: Wenchen Fan
> Fix For: 2.0.0
>
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org