GitHub user zuowang opened a pull request: https://github.com/apache/spark/pull/11420
[SPARK-13493][SQL] Enable case sensitiveness in json schema inference. ## What changes were proposed in this pull request? Pass "caseSensitiveAnalysis" to InferSchema. Change field name to lowercase when "caseSensitiveAnalysis" is false. ## How was this patch tested? Add new test case in DataFrameSuite. You can merge this pull request into a Git repository by running: $ git pull https://github.com/zuowang/spark case-sensitiveness-4-json Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/11420.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 #11420 ---- commit 7c76be43e8148124a124058634c74f8573daec8e Author: Zuo Wang <zuo.a.w...@intel.com> Date: 2016-02-28T06:04:38Z [SPARK-13493][SQL] Enable case sensitiveness in json schema inference. Pass "caseSensitiveAnalysis" to InferSchema. Change field name to lowercase when "caseSensitiveAnalysis" is false. Add new test case in DataFrameSuite. ---- --- 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