apache/spark — pull request #2656 by marmbrus (2014-10-04 21:28:52+00:00)
Title: [SPARK-3798][SQL] Store the output of a generator in a val

This prevents it from changing during serialization, leading to corrupted results.