Repository: spark Updated Branches: refs/heads/branch-1.0 bc8d24ac1 -> eb2f5c50c
[SPARK-1964][SQL] Add timestamp to HiveMetastoreTypes.toMetastoreType Author: Michael Armbrust <[email protected]> Closes #1061 from marmbrus/timestamp and squashes the following commits: 79c3903 [Michael Armbrust] Add timestamp to HiveMetastoreTypes.toMetastoreType() (cherry picked from commit 1c2fd015b05b65abc83c4874ada825deac578af8) Signed-off-by: Michael Armbrust <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/eb2f5c50 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/eb2f5c50 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/eb2f5c50 Branch: refs/heads/branch-1.0 Commit: eb2f5c50c97b85e8360d3a0f88108cdfc55f7eab Parents: bc8d24a Author: Michael Armbrust <[email protected]> Authored: Fri Jun 13 12:55:15 2014 -0700 Committer: Michael Armbrust <[email protected]> Committed: Fri Jun 13 12:55:54 2014 -0700 ---------------------------------------------------------------------- .../main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/eb2f5c50/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala ---------------------------------------------------------------------- diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala index e9e6497..6828434 100644 --- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala +++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala @@ -237,6 +237,7 @@ object HiveMetastoreTypes extends RegexParsers { case BinaryType => "binary" case BooleanType => "boolean" case DecimalType => "decimal" + case TimestampType => "timestamp" } }
