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

    https://github.com/apache/spark/pull/16578#discussion_r148450744
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetRowConverter.scala
 ---
    @@ -127,8 +127,8 @@ private[parquet] class ParquetRowConverter(
       extends ParquetGroupConverter(updater) with Logging {
     
       assert(
    -    parquetType.getFieldCount == catalystType.length,
    -    s"""Field counts of the Parquet schema and the Catalyst schema don't 
match:
    +    parquetType.getFieldCount <= catalystType.length,
    --- End diff --
    
    Why it can be less than catalyst type length now?


---

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

Reply via email to