wangyum commented on pull request #30517:
URL: https://github.com/apache/spark/pull/30517#issuecomment-739688414


   @dongjoon-hyun It's a bug of datasource v2. `VectorizedParquetRecordReader` 
also has this issue if we change [these 
lines](https://github.com/apache/spark/blob/26badc4cc4ea6d68c8c5d50cf2c83e4904aacc0d/sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/SpecificParquetRecordReaderBase.java#L149-L152)
 to:
   ```java
   this.totalRowCount += reader.getFilteredRecordCount();
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to