peter-toth opened a new pull request #31848: URL: https://github.com/apache/spark/pull/31848
### What changes were proposed in this pull request? This PR fixes `FileScan.equals()`. ### Why are the changes needed? Without this fix `FileScan.equals` doesn't take `fileIndex` and `readSchema` into account. ### Does this PR introduce _any_ user-facing change? Yes, before this fix incorrect reuse of `FileScan` and so `BatchScanExec` could have happed causing correctness issues. ### How was this patch tested? Trivial fix. ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org