GitHub user OopsOutOfMemory opened a pull request:
https://github.com/apache/spark/pull/3991
[Spark-5196][SQL] Support `comment` field in StructField and in CREATE
TABLE DDL
Support `comment` in StructField and also in CREATE TABLE DDL
sql(
"""
|CREATE TEMPORARY TABLE people(name string comment "the name of a
people")
|USING org.apache.spark.sql.sources.AllDataTypesScanSource
|OPTIONS (
| from '1',
| to '10'
|)
""".stripMargin)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/OopsOutOfMemory/spark comments
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/3991.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 #3991
----
commit 22c969b7a83591f9491033f1ff3adbd4471be21b
Author: OopsOutOfMemory <[email protected]>
Date: 2015-01-11T11:47:54Z
initial support comment in struct field
commit d2c19f852fd853cb3a0f32425352b084347afe2e
Author: OopsOutOfMemory <[email protected]>
Date: 2015-01-11T15:31:54Z
add test suite and fix test suit issues
----
---
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]