[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()
This commit is contained in:
Michael Armbrust 2014-06-13 12:55:15 -07:00
parent 70c8116c0a
commit 1c2fd015b0

View file

@ -237,6 +237,7 @@ object HiveMetastoreTypes extends RegexParsers {
case BinaryType => "binary"
case BooleanType => "boolean"
case DecimalType => "decimal"
case TimestampType => "timestamp"
}
}