LuciferYang opened a new pull request #30484: URL: https://github.com/apache/spark/pull/30484
### What changes were proposed in this pull request? There are two places in Spark to call the `SpecificParquetRecordReaderBase.initialize(InputSplit, taskAttemptContext)` method, one is in ParquetFileFormat and the other one is in ParquetPartitionReaderFactory, the "inputSplit.rowGroupOffsets" passed in to the `initialize` method both `null`, it seems that the branch of "rowgroupoffsets! = null" is useless. So this is pr remove this branch. ### Why are the changes needed? Remove a unreachable branch to simplify code. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Pass the Jenkins or GitHub Action ---------------------------------------------------------------- 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]
