GitHub user yhuai opened a pull request:
https://github.com/apache/spark/pull/5078
[SPARK-6250][SQL] Types are now reserved words in DDL parser.
For toDataType in HiveMetastoreTypes, I am using a special DDLParser which
also accepts any reserved keyword defined in a regular DDLParser as the name of
a struct field.
JIRA: https://issues.apache.org/jira/browse/SPARK-6250
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yhuai/spark ddlKeywords
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5078.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 #5078
----
commit d23d52e4dda5945c92da3ae1c75c2d23f27504c4
Author: Yin Huai <[email protected]>
Date: 2015-03-17T22:59:59Z
Unit test.
commit d949910d3834f5535b54117d72bcf7ce00d43dbe
Author: Yin Huai <[email protected]>
Date: 2015-03-17T23:00:10Z
HiveMetastoreTypes.toDataType supports reserved keywords.
----
---
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]