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

    https://github.com/apache/spark/pull/20846#discussion_r175274916
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/interface.scala
 ---
    @@ -99,7 +99,8 @@ case class CatalogTablePartition(
         spec: CatalogTypes.TablePartitionSpec,
         storage: CatalogStorageFormat,
         parameters: Map[String, String] = Map.empty,
    -    stats: Option[CatalogStatistics] = None) {
    +    stats: Option[CatalogStatistics] = None,
    +    schema: Option[StructType] = None) {
    --- End diff --
    
    Some times, partition's schema is different from the table's.


---

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

Reply via email to