Description
SparkSQLOperationManager.getNextRowSet allocates an ArrayBuffer[Row] as large as maxRows, which can lead to OOM if maxRows is large, even if the actual size of the row set is much smaller.
SparkSQLOperationManager.getNextRowSet allocates an ArrayBuffer[Row] as large as maxRows, which can lead to OOM if maxRows is large, even if the actual size of the row set is much smaller.