[GitHub] spark pull request #19765: [SPARK-22540][SQL] Fix incorrect avgSize in Highl...

2017-11-16 Thread jiangxb1987
Github user jiangxb1987 commented on a diff in the pull request:

https://github.com/apache/spark/pull/19765#discussion_r151416922
  
--- Diff: 
core/src/test/scala/org/apache/spark/scheduler/MapStatusSuite.scala ---
@@ -98,6 +98,28 @@ class MapStatusSuite extends SparkFunSuite {
 }
   }
 
+  test("[SPARK-22540]: HighlyCompressedMapStatus's avgSize is incorrect") {
--- End diff --

nit: `test("SPARK-22540: ensure HighlyCompressedMapStatus calculates 
correct avgSize")`


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request #19765: [SPARK-22540][SQL] Fix incorrect avgSize in Highl...

2017-11-16 Thread yucai
GitHub user yucai opened a pull request:

https://github.com/apache/spark/pull/19765

[SPARK-22540][SQL] Fix incorrect avgSize in HighlyCompressedMapStatus

## What changes were proposed in this pull request?

Fix incorrect avgSize in HighlyCompressedMapStatus

## How was this patch tested?

New unit test added.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/yucai/spark avgsize

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/spark/pull/19765.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #19765


commit af7b94d151bb39bea4925277b8384151ed67d2c6
Author: yucai 
Date:   2017-11-16T08:01:24Z

[SPARK-22540][SQL] Fix incorrect avgSize in HighlyCompressedMapStatus




---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org