GitHub user cloud-fan opened a pull request:
https://github.com/apache/spark/pull/19847
[SPARK-22652][SQL] remove set methods in ColumnarRow
## What changes were proposed in this pull request?
As a step to make `ColumnVector` public, the `ColumnarRow` returned by
`ColumnVector#getStruct` should be immutable.
However we do need the mutability of `ColumnaRow` for the fast vectorized
hashmap in hash aggregate. To solve this, this PR introduces a
`MutableColumnarRow` for this use case.
## How was this patch tested?
existing test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloud-fan/spark mutable-row
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19847.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 #19847
----
commit b72e701f1a75df2bb84af8b3b7014971db46fbcf
Author: Wenchen Fan <[email protected]>
Date: 2017-11-29T15:29:09Z
remove set methods in ColumnarRow
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]