Github user phalodi commented on the issue:
https://github.com/apache/spark/pull/14436
@srowen @rxin Hey guyss i make changes as you suggested but yeah it not
exactly what you suggested, i change in example which is also reflect in
documentation, so please review it and give give your comments i will change
them if you guyss think its not look good.
Changes which i made

In currently spark 2.0 example for Json Dataset

In previous version example is as follows.

So i make 2.0 example also same as previous version while user do this
he/she can also know how to create JavaSparkContext by this.
---
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]