[
https://issues.apache.org/jira/browse/SPARK-33532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-33532.
----------------------------------
Fix Version/s: 3.2.0
Resolution: Fixed
Issue resolved by pull request 30484
[https://github.com/apache/spark/pull/30484]
> Remove unreachable branch in SpecificParquetRecordReaderBase.initialize method
> ------------------------------------------------------------------------------
>
> Key: SPARK-33532
> URL: https://issues.apache.org/jira/browse/SPARK-33532
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.1.0
> Reporter: Yang Jie
> Assignee: Yang Jie
> Priority: Minor
> Fix For: 3.2.0
>
>
> There are two places to call the "SpecificParquetRecordReaderBase.initialize(
> InputSplit inputSplit, TaskAttemptContext taskAttemptContext
> )" method, one is in ParquetFileFormat and the other one is in
> ParquetPartitionReaderFactory,
> the "inputSplit.rowGroupOffsets" passed in both places are null, it seems
> that the branch of "rowgroupoffsets! = null" is useless.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]