GitHub user sameeragarwal opened a pull request:
https://github.com/apache/spark/pull/14225
[WIP][SPARK-16334] Maintain single dictionary per row-batch in vectorized
parquet reader
## What changes were proposed in this pull request?
As part of the bugfix in https://github.com/apache/spark/pull/12279, if a
row batch consist of both dictionary encoded and non-dictionary encoded pages,
we explicitly decode the dictionary for the values that are already dictionary
encoded. Currently we reset the dictionary while reading every page that can
potentially cause ` java.lang.ArrayIndexOutOfBoundsException` while decoding
pages older pages.
## How was this patch tested?
WIP
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sameeragarwal/spark vectorized
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14225.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 #14225
----
commit 0861a8de5f7f258063dae0467a37179a94677d9d
Author: Sameer Agarwal <[email protected]>
Date: 2016-07-15T21:11:00Z
Maintain single dictionary per row-batch in vectorized parquet reader
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]