You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2020/12/28 05:09:00 UTC

[jira] [Resolved] (SPARK-33532) Remove unreachable branch in SpecificParquetRecordReaderBase.initialize method

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