Description
RowMatrix does not work if spark.driver.maxResultSize=0, as this requirement breaks:
require(maxDriverResultSizeInBytes > aggregatedObjectSizeInBytes, s"Cannot aggregate object of size $aggregatedObjectSizeInBytes Bytes, " + s"as it's bigger than maxResultSize ($maxDriverResultSizeInBytes Bytes)")
This check should likely only happen if maxDriverResultSizeInBytes > 0.