-
Notifications
You must be signed in to change notification settings - Fork 993
resolve saveToEs saves case classes fields with NULL values #998 #1478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resolve saveToEs saves case classes fields with NULL values #998 #1478
Conversation
It is configurable with ES_SPARK_DATAFRAME_WRITE_NULL_VALUES parameter (
es.spark.dataframe.write.null).
The default value is false, it has to be set to true in order to index null values
Le jeu. 21 mai 2020 à 19:43, rohitgcs <notifications@github.com> a écrit :
… Can this be configurable? If I want nulls to show - then this PR removes
it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1478 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJKCKP2ZKIMAYFSKCHGTDHLRSVR43ANCNFSM4NC4DKCQ>
.
|
Hi @lucebert. Sorry for the very long delay. Thanks for the PR, and especially the tests. If you are still around I would like to get this merged in. It looks pretty good to me but now has merge conflicts that need to be cleared up before it can be merged. |
spark/core/main/scala/org/elasticsearch/spark/serialization/ScalaValueWriter.scala
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
@lucebert do you want to merge this? I think you'll have permissions now. If not, I can merge it. |
@masseyke Thanks for the review. I don't seem to be able to merge, so you can do it 👍 |
… (elastic#1478) This PR fix the Scala Writer when it processes case classes with null fields. Closes elastic#998
… (elastic#1478) This PR fix the Scala Writer when it processes case classes with null fields. Closes elastic#998
This PR fix the Scala Writer when it processes case classes with null fields.
Correction about issue #998