apache/spark — pull request #1901 by liancheng (2014-08-12 06:11:01+00:00)
Title: [SPARK-2650][SQL] More precise initial buffer size estimation for in-memory column buffer

This is a follow up of #1880.

Since the row number within a single batch is known, we can estimate a much more precise initial buffer size when building an in-memory column buffer.