Skip to content

Commit f6b9349

Browse files
marmbrusconviva-zz
authored andcommitted
[SQL] SPARK-1964 Add timestamp to hive metastore type parser.
Author: Michael Armbrust <[email protected]> Closes apache#913 from marmbrus/timestampMetastore and squashes the following commits: 8e0154f [Michael Armbrust] Add timestamp to hive metastore type parser.
1 parent 1467901 commit f6b9349

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ object HiveMetastoreTypes extends RegexParsers {
190190
"binary" ^^^ BinaryType |
191191
"boolean" ^^^ BooleanType |
192192
"decimal" ^^^ DecimalType |
193+
"timestamp" ^^^ TimestampType |
193194
"varchar\\((\\d+)\\)".r ^^^ StringType
194195

195196
protected lazy val arrayType: Parser[DataType] =

0 commit comments

Comments
 (0)