Skip to content

Commit 8e0154f

Browse files
committed
Add timestamp to hive metastore type parser.
1 parent 60b89fe commit 8e0154f

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

+1
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)