diff options
author | Michael Armbrust <michael@databricks.com> | 2014-06-13 12:55:15 -0700 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2014-06-13 12:55:54 -0700 |
commit | eb2f5c50c97b85e8360d3a0f88108cdfc55f7eab (patch) | |
tree | c99c937d6c8d4f31c17799ba986894edaa708628 /sql/hive/src/main | |
parent | bc8d24ac1d8d20d359b32f6a965d55a4052b72bc (diff) | |
download | spark-eb2f5c50c97b85e8360d3a0f88108cdfc55f7eab.tar.gz spark-eb2f5c50c97b85e8360d3a0f88108cdfc55f7eab.tar.bz2 spark-eb2f5c50c97b85e8360d3a0f88108cdfc55f7eab.zip |
[SPARK-1964][SQL] Add timestamp to HiveMetastoreTypes.toMetastoreType
Author: Michael Armbrust <michael@databricks.com>
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 <michael@databricks.com>
Diffstat (limited to 'sql/hive/src/main')
-rw-r--r-- | sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala | 1 |
1 files changed, 1 insertions, 0 deletions
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 e9e6497f7e..68284344af 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" } } |