You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ma...@apache.org on 2014/06/13 21:55:24 UTC

git commit: [SPARK-1964][SQL] Add timestamp to HiveMetastoreTypes.toMetastoreType

Repository: spark
Updated Branches:
  refs/heads/master 70c8116c0 -> 1c2fd015b


[SPARK-1964][SQL] Add timestamp to HiveMetastoreTypes.toMetastoreType

Author: Michael Armbrust <mi...@databricks.com>

Closes #1061 from marmbrus/timestamp and squashes the following commits:

79c3903 [Michael Armbrust] Add timestamp to HiveMetastoreTypes.toMetastoreType()


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/1c2fd015
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/1c2fd015
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/1c2fd015

Branch: refs/heads/master
Commit: 1c2fd015b05b65abc83c4874ada825deac578af8
Parents: 70c8116
Author: Michael Armbrust <mi...@databricks.com>
Authored: Fri Jun 13 12:55:15 2014 -0700
Committer: Michael Armbrust <mi...@databricks.com>
Committed: Fri Jun 13 12:55:15 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/1c2fd015/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"
   }
 }