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

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

    [ https://issues.apache.org/jira/browse/SPARK-33532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17238088#comment-17238088 ] 

Apache Spark commented on SPARK-33532:
--------------------------------------

User 'LuciferYang' has created a pull request for this issue:
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
>            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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org