Github user nadavoosh commented on the pull request:

    https://github.com/apache/spark/pull/5590#issuecomment-97717732
  
    hi @adrian-wang ! I am using spark and needed to include this fix, since I 
am reading from a table that has Date types. I just ran into a new problem 
though: when the Date field has null values, spark throws a  
java.lang.NullPointerException
            at 
org.apache.spark.sql.types.DateUtils$.javaDateToDays(DateUtils.scala:39)
    error. Any ideas on how I can fix that?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to