aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Armbrust <michael@databricks.com>2014-06-13 12:55:15 -0700
committerMichael Armbrust <michael@databricks.com>2014-06-13 12:55:15 -0700
commit1c2fd015b05b65abc83c4874ada825deac578af8 (patch)
tree5127df5d5ecbaa1aaf1afed7c39091bfc27a3757
parent70c8116c0aecba293234edc44a7f8e58e5008649 (diff)
downloadspark-1c2fd015b05b65abc83c4874ada825deac578af8.tar.gz
spark-1c2fd015b05b65abc83c4874ada825deac578af8.tar.bz2
spark-1c2fd015b05b65abc83c4874ada825deac578af8.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()
-rw-r--r--sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala1
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"
}
}