Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19622#discussion_r148064090
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala ---
    @@ -246,11 +246,11 @@ private[hive] class 
HiveMetastoreCatalog(sparkSession: SparkSession) extends Log
     
           inferredSchema match {
             case Some(dataSchema) =>
    -          val schema = StructType(dataSchema ++ 
relation.tableMeta.partitionSchema)
               if (inferenceMode == INFER_AND_SAVE) {
    -            updateCatalogSchema(relation.tableMeta.identifier, schema)
    +            updateDataSchema(relation.tableMeta.identifier, dataSchema)
    --- End diff --
    
    owner is in table properties?


---

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

Reply via email to