You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shivu Sondur (JIRA)" <ji...@apache.org> on 2019/03/21 19:10:00 UTC

[jira] [Created] (SPARK-27235) Remove the Dead code in HashedRelation.scala file from sql core module

Shivu Sondur created SPARK-27235:
------------------------------------

             Summary: Remove the Dead code in HashedRelation.scala file from sql core module
                 Key: SPARK-27235
                 URL: https://issues.apache.org/jira/browse/SPARK-27235
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: Shivu Sondur


Remove the Dead code in HashedRelation.scala file from sql core module, This code is never be used.

val pageSizeBytes = Option(SparkEnv.get).map(_.memoryManager.pageSizeBytes)
 .getOrElse(new SparkConf().getSizeAsBytes("spark.buffer.pageSize", "16m"))

 

Here the else part is never be executed, as it is always gets value from get method.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org