[SQL] SPARK-1964 Add timestamp to hive metastore type parser.

Author: Michael Armbrust <michael@databricks.com>

Closes #913 from marmbrus/timestampMetastore and squashes the following commits:

8e0154f [Michael Armbrust] Add timestamp to hive metastore type parser.
This commit is contained in:
Michael Armbrust 2014-05-31 12:34:22 -07:00 committed by Reynold Xin
parent 7463cd248f
commit 1a0da0ec57

View file

@ -190,6 +190,7 @@ object HiveMetastoreTypes extends RegexParsers {
"binary" ^^^ BinaryType |
"boolean" ^^^ BooleanType |
"decimal" ^^^ DecimalType |
"timestamp" ^^^ TimestampType |
"varchar\\((\\d+)\\)".r ^^^ StringType
protected lazy val arrayType: Parser[DataType] =