GitHub user chenghao-intel opened a pull request:
https://github.com/apache/spark/pull/275
[SPARK-1360] Add Timestamp Support for SQL
This PR includes:
1) Add new data type Timestamp
2) Add more data type casting base on Hive's Rule
3) Fix bug missing data type in both parsers (HiveQl & SQLParser).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chenghao-intel/spark timestamp
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/275.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 #275
----
commit 9ac2d52deca4cd71b5da3bdabd948e55fcb9f4d3
Author: Cheng Hao <[email protected]>
Date: 2014-03-31T07:05:10Z
Add TimestampType Support
commit 98d344af13a795e4ec6c7f3277357c68a92f3b5c
Author: Cheng Hao <[email protected]>
Date: 2014-03-31T08:05:17Z
Add DataType for SqlParser
commit c01d4855eb5d0f374c4ec12b48b0734fdde2c392
Author: Cheng Hao <[email protected]>
Date: 2014-03-31T08:23:09Z
Update Unit Test & CodeStyle
----
---
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.
---