Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19615#discussion_r147951101
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala ---
    @@ -164,13 +164,12 @@ private[hive] class 
HiveMetastoreCatalog(sparkSession: SparkSession) extends Log
                 }
               }
     
    -          val (dataSchema, updatedTable) =
    -            inferIfNeeded(relation, options, fileFormat, Option(fileIndex))
    +          val updatedTable = inferIfNeeded(relation, options, fileFormat, 
Option(fileIndex))
    --- End diff --
    
    Yeah, we missed this. Actually the variable name is indicating it is data 
schema...


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to