diff options
author | hyukjinkwon <gurwls223@gmail.com> | 2016-03-07 14:32:01 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-03-07 14:32:01 -0800 |
commit | 8577260abdc908ac08d28ddd3f07a2411fdc82b7 (patch) | |
tree | 5832a628589096ef79bb6706a185ab26a5e416a4 /extras | |
parent | e1fb857992074164dcaa02498c5a9604fac6f57e (diff) | |
download | spark-8577260abdc908ac08d28ddd3f07a2411fdc82b7.tar.gz spark-8577260abdc908ac08d28ddd3f07a2411fdc82b7.tar.bz2 spark-8577260abdc908ac08d28ddd3f07a2411fdc82b7.zip |
[SPARK-13442][SQL] Make type inference recognize boolean types
## What changes were proposed in this pull request?
https://issues.apache.org/jira/browse/SPARK-13442
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.
## How was the this patch tested?
This was tested with unittests and with `dev/run_tests` for coding style
Author: hyukjinkwon <gurwls223@gmail.com>
Closes #11315 from HyukjinKwon/SPARK-13442.
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions