GitHub user HyukjinKwon opened a pull request:
https://github.com/apache/spark/pull/20125
[SPARK-17967][SQL] Support for array as an option in SQL parser
## What changes were proposed in this pull request?
This PR targets to add the ability for dealing with an array (JSON array)
in `tablePropertyValue` rule.
**SQL**
```sql
CREATE TEMPORARY TABLE tableA USING csv
OPTIONS (nullValue [2012, 1.1, 'null'], ...)
```
## How was this patch tested?
Manually tested and test cases added in `DDLParserSuite.scala`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HyukjinKwon/spark SPARK-17967-sql
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20125.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 #20125
----
commit 5cae64b0da57a3f45b54bcc39c18463d3945a934
Author: hyukjinkwon <gurwls223@...>
Date: 2017-12-31T10:27:00Z
Support for array as an option in SQL
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]