Github user zuowang commented on the pull request:
https://github.com/apache/spark/pull/11420#issuecomment-190519404
What would be the case like in CSV? I don't think anybody want to conbine
"user" and "User" column when "caseSensitiveAnalysis" is false.
`scala> val jsonDF = sqlContext.read.option("header",
"true").csv("file.csv")
jsonDF: org.apache.spark.sql.DataFrame = [user: string, User: string ... 1
more field]
scala> jsonDF.show
+-------+-------+-----+
| user| User| hits|
+-------+-------+-----+
| om| scala| 120|
| daniel| spark| 80|
|3754978| spark| 1|
+-------+-------+-----+`
---
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]