GitHub user HyukjinKwon opened a pull request: https://github.com/apache/spark/pull/11315
[SPARK-13442][SQL] Make type inference recognize boolean types This PR adds the support for inferring `BooleanType` for schema. It supports to infer case-insensitive `true` / `false` as `BooleanType`. Unittests were added for `CSVInferSchemaSuite` and `CSVSuite` for end-to-end test. You can merge this pull request into a Git repository by running: $ git pull https://github.com/HyukjinKwon/spark SPARK-13442 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/11315.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 #11315 ---- commit ff95872ff673e3350078a307eab9bf37485f9d26 Author: hyukjinkwon <gurwls...@gmail.com> Date: 2016-02-23T00:56:04Z Make type inference recognize boolean types commit 28c05cdf45b7b1355e10ac58035ca7a98b162a64 Author: hyukjinkwon <gurwls...@gmail.com> Date: 2016-02-23T00:56:54Z Correct paths commit 4ac73d957aaee4e1a611e55e568ba1add896e22b Author: hyukjinkwon <gurwls...@gmail.com> Date: 2016-02-23T00:58:10Z Add a newline at the end of the test file ---- --- 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