[ 
https://issues.apache.org/jira/browse/SPARK-33532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon reassigned SPARK-33532:
------------------------------------

    Assignee: Yang Jie

> 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
>
> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to