Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/11805#discussion_r58123156
--- Diff: core/src/main/scala/org/apache/spark/storage/StorageLevel.scala
---
@@ -131,8 +129,10 @@ class StorageLevel private(
def description: String = {
var result = ""
result += (if (useDisk) "Disk " else "")
- result += (if (useMemory) "Memory " else "")
- result += (if (useOffHeap) "ExternalBlockStore " else "")
+ if (useMemory) {
+ if (useOffHeap) result += "Memory (off heap) "
+ else result += "Memory (heap) "
--- End diff --
probably OK to not say "Memory (heap)" since it doesn't make a ton of sense
without the context of off-heap memory
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]