spark icon indicating copy to clipboard operation
spark copied to clipboard

[SPARK-39982][DOC] Add doc string to StructType.fromJson

Open khalidmammadov opened this issue 2 years ago • 1 comments

What changes were proposed in this pull request?

Documentation provided for StructType.fromJson method

Why are the changes needed?

To make it easy for a user to understand this method and use it. It was inspired by this SO question

Does this PR introduce any user-facing change?

Yes, adding missing documentation

How was this patch tested?

Unit tests

khalidmammadov avatar Aug 04 '22 18:08 khalidmammadov

Can one of the admins verify this patch?

AmplabJenkins avatar Aug 06 '22 02:08 AmplabJenkins

Minor changes requested above, but if you can make the tweaks, I think this is OK

srowen avatar Aug 13 '22 13:08 srowen

Additionally I have checked how it looks using bundle exec jekyll serve --host 0.0.0.0

khalidmammadov avatar Aug 14 '22 09:08 khalidmammadov

Merged to master

srowen avatar Aug 15 '22 13:08 srowen