Skip to content
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

Null values cannot be written to cosmos db collection #417

Open
sani-sani opened this issue Oct 29, 2020 · 0 comments
Open

Null values cannot be written to cosmos db collection #417

sani-sani opened this issue Oct 29, 2020 · 0 comments

Comments

@sani-sani
Copy link

Hi
Im using Apache Spark 2.4.5, Scala 2.11.
If there is any null value for a property in json, that property itself will not get written in to the db collection
Please let me know if this can be resolved.
There is a workaround of applying na.fill and make all the null values to empty string and then if we write in to collection , that property will display as "" value.
But my requirement is to keep the null value as it is and write in to collection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant