Github user chenghao-intel commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3013#discussion_r19712391
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala ---
    @@ -320,8 +326,9 @@ object HiveMetastoreTypes extends RegexParsers {
         "double" ^^^ DoubleType |
         "bigint" ^^^ LongType |
         "binary" ^^^ BinaryType |
    -    "boolean" ^^^ BooleanType |
    -    HiveShim.metastoreDecimal ^^^ DecimalType |
    +    "boolean" ^^^ BooleanType | // TODO decimal Hive 0.12.0
    +    "decimal\\((\\d+),(\\d+)\\)".r ^^^ DecimalType | // TODO decimal Hive 
0.13.1
    --- End diff --
    
    The ".q" files contains the create table like "CREATE TABLE DECIMAL_4_1(key 
decimal(35,25), value int)", however, the Jenkins seems compile spark sql with 
Hive 0.12, hence I have to put the both patterns here.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to