[2/2] spark git commit: [SPARK-4131] Support "Writing data into the filesystem from queries"

2017-09-09 Thread lixiao
[SPARK-4131] Support "Writing data into the filesystem from queries" ## What changes were proposed in this pull request? This PR implements the sql feature: INSERT OVERWRITE [LOCAL] DIRECTORY directory1 [ROW FORMAT row_format] [STORED AS file_format] SELECT ... FROM ... ## How was this patch

[1/2] spark git commit: [SPARK-4131] Support "Writing data into the filesystem from queries"

2017-09-09 Thread lixiao
Repository: spark Updated Branches: refs/heads/master e4d8f9a36 -> f76790557 http://git-wip-us.apache.org/repos/asf/spark/blob/f7679055/sql/hive/src/test/scala/org/apache/spark/sql/hive/InsertSuite.scala -- diff --git a/sql/hi

spark git commit: [MINOR][SQL] Correct DataFrame doc.

2017-09-09 Thread lixiao
Repository: spark Updated Branches: refs/heads/master 6b45d7e94 -> e4d8f9a36 [MINOR][SQL] Correct DataFrame doc. ## What changes were proposed in this pull request? Correct DataFrame doc. ## How was this patch tested? Only doc change, no tests. Author: Yanbo Liang Closes #19173 from yanbol

spark git commit: [SPARK-21954][SQL] JacksonUtils should verify MapType's value type instead of key type

2017-09-09 Thread gurwls223
Repository: spark Updated Branches: refs/heads/branch-2.2 987682160 -> 182478e03 [SPARK-21954][SQL] JacksonUtils should verify MapType's value type instead of key type ## What changes were proposed in this pull request? `JacksonUtils.verifySchema` verifies if a data type can be converted to

spark git commit: [SPARK-21954][SQL] JacksonUtils should verify MapType's value type instead of key type

2017-09-09 Thread gurwls223
Repository: spark Updated Branches: refs/heads/master 8a5eb5068 -> 6b45d7e94 [SPARK-21954][SQL] JacksonUtils should verify MapType's value type instead of key type ## What changes were proposed in this pull request? `JacksonUtils.verifySchema` verifies if a data type can be converted to JSON