GitHub user codlife opened a pull request: https://github.com/apache/spark/pull/15511
[SPARK-17969]I think it's user unfriendly to process standard json file with DataFrame ## What changes were proposed in this pull request? Currently, with DataFrame API, we can't load standard json file directly, so we can provide an override method to process this. ## How was this patch tested? manual tests Please review https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark before opening a pull request. You can merge this pull request into a Git repository by running: $ git pull https://github.com/codlife/spark master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/15511.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #15511 ---- commit 673c29b2166e002d97b914ef8f8316df71fc8be7 Author: codlife <1004910...@qq.com> Date: 2016-09-10T02:02:21Z solve spark-17447 commit a4609059350af3ebeb68e5acdfc99daf424a817a Author: codlife <1004910...@qq.com> Date: 2016-09-10T02:26:46Z Update Partitioner.scala commit 7829bd0a3c66c474ec67f64d1ef043d0e251cdf6 Author: codlife <1004910...@qq.com> Date: 2016-09-10T12:26:54Z solve spark-17447 commit 8ddc442fc40f71d85fcaef8e4a721f6b31a5ea5c Author: codlife <1004910...@qq.com> Date: 2016-09-10T12:33:19Z fix code style commit 81c0eb9bb45b15dc746d935afa7a3259bb0efcd9 Author: codlife <1004910...@qq.com> Date: 2016-09-10T15:20:09Z solve spark-17447 commit f5d1e24d38f4a24f2ebc29214eb1a331846a0b1b Author: codlife <1004910...@qq.com> Date: 2016-09-10T15:21:44Z Update Partitioner.scala commit e717f65ff419e152a02e359f1241343d48e56977 Author: codlife <1004910...@qq.com> Date: 2016-09-13T10:45:34Z Merge branch 'master' of https://github.com/codlife/spark commit e426ccfabeb4e9baa38bceac893db7d985cfa860 Author: codlife <1004910...@qq.com> Date: 2016-09-13T10:51:57Z solve SPARK-17521 commit af1a102192794bce88afab172f3b074e901d8383 Author: codlife <wangjianfe...@otcaix.iscas.ac.cn> Date: 2016-09-13T11:32:34Z Merge pull request #2 from apache/master NEW commit 8bfcd6b66950b40953d984fee93e8b16cbf7af05 Author: codlife <1004910...@qq.com> Date: 2016-09-13T13:00:12Z fix commit 379cd5a687d83c363179071a998bd689feb80e71 Author: codlife <wangjianfe...@otcaix.iscas.ac.cn> Date: 2016-09-13T13:03:39Z Update SparkContext.scala commit f4546685958ccfb12f0d994e7acefaf7d4ece600 Author: codlife <1004910...@qq.com> Date: 2016-09-13T13:07:51Z Merge branch 'master' of https://github.com/codlife/spark commit 1d0d4fcf9d9c06a0d03fc8dd8ba7582e4945231a Author: codlife <1004910...@qq.com> Date: 2016-10-17T07:46:39Z support stand json file commit 9639a148c12021b523f0af0edb49b72f21fe273e Author: codlife <wangjianfe...@otcaix.iscas.ac.cn> Date: 2016-10-17T08:26:33Z Merge pull request #3 from apache/master new commit 2084079e419e10abe58999adacaa020dfdcef964 Author: codlife <wangjianfe...@otcaix.iscas.ac.cn> Date: 2016-10-17T08:35:10Z Update DataFrameReader.scala ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org