aboutsummaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorYin Huai <yhuai@databricks.com>2015-11-18 11:49:12 -0800
committerYin Huai <yhuai@databricks.com>2015-11-18 11:49:12 -0800
commit6f99522d13d8db9fcc767f7c3189557b9a53d283 (patch)
tree61aa47395a77a6dfb22169d77a80a3f6b820671a /extras
parent90a7519daaa7f4ee3be7c5a9aa244120811ff6eb (diff)
downloadspark-6f99522d13d8db9fcc767f7c3189557b9a53d283.tar.gz
spark-6f99522d13d8db9fcc767f7c3189557b9a53d283.tar.bz2
spark-6f99522d13d8db9fcc767f7c3189557b9a53d283.zip
[SPARK-11792] [SQL] [FOLLOW-UP] Change SizeEstimation to KnownSizeEstimation and make estimatedSize return Long instead of Option[Long]
https://issues.apache.org/jira/browse/SPARK-11792 The main changes include: * Renaming `SizeEstimation` to `KnownSizeEstimation`. Hopefully this new name has more information. * Making `estimatedSize` return `Long` instead of `Option[Long]`. * In `UnsaveHashedRelation`, `estimatedSize` will delegate the work to `SizeEstimator` if we have not created a `BytesToBytesMap`. Since we will put `UnsaveHashedRelation` to `BlockManager`, it is generally good to let it provide a more accurate size estimation. Also, if we do not put `BytesToBytesMap` directly into `BlockerManager`, I feel it is not really necessary to make `BytesToBytesMap` extends `KnownSizeEstimation`. Author: Yin Huai <yhuai@databricks.com> Closes #9813 from yhuai/SPARK-11792-followup.
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions