GitHub user cloud-fan opened a pull request:
https://github.com/apache/spark/pull/19766
[SPARK-22542][SQL] remove unused features in ColumnarBatch
## What changes were proposed in this pull request?
`ColumnarBatch` provides features to do fast filter and project in a
columnar fashion, however this feature is never used by Spark, as Spark uses
whole stage codegen and processes the data in a row fashion. This PR proposes
to remove these unused features as we won't switch to columnar execution in the
near future. Even we do, I think this part needs a proper redesign.
This is also a step to make `ColumnVector` public, as we don't wanna expose
these features to users.
## How was this patch tested?
existing tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloud-fan/spark vector
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19766.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 #19766
----
commit 9cc2def83550c71a5eefd520c9b93f2b5fd5de6a
Author: Wenchen Fan <[email protected]>
Date: 2017-11-16T13:29:58Z
remove unused features in ColumnarBatch
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]