Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19992#discussion_r157552872
  
    --- Diff: core/src/main/scala/org/apache/spark/storage/StorageLevel.scala 
---
    @@ -132,6 +132,23 @@ class StorageLevel private(
     
       override def hashCode(): Int = toInt * 41 + replication
     
    +  /** Name of the storage level if it is predefined or [[None]] otherwise. 
*/
    +  def name: Option[String] = this match {
    --- End diff --
    
    > What do you think about renaming 
    
    It's a public method so renaming means breaking compatibility.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to