Created
December 20, 2021 11:46
-
-
Save 1ambda/b5d5641a379f3766db7ea4de8aa02993 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# dsUserFiltered.show() | |
Caused by: NullPointerException: Null value appeared in non-nullable field: | |
- field (class: "scala.Int", name: "income") | |
- root class: "$line9228218dd17046b3aa8b6bbe593dc28a520.$read.$iw.$iw.$iw.$iw.$iw.$iw.$iw.$iw.$iw.$iw.$iw.$iw.$iw.$iw.MarketingUser" | |
If the schema is inferred from a Scala tuple/case class, or a Java bean, please try to use scala.Option[_] or other nullable types (e.g. java.lang.Integer instead of int/scala.Int). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment