Skip to content

PARQUET-336: Fix ArrayIndexOutOfBounds in checkDeltaByteArrayProblem - #242

Closed
isnotinvain wants to merge 2 commits into
apache:masterfrom
isnotinvain:patch-1
Closed

isnotinvain wants to merge 2 commits into
apache:masterfrom
isnotinvain:patch-1

Conversation

@isnotinvain

Copy link
Copy Markdown
Contributor

No description provided.

@isnotinvain isnotinvain changed the title Fix ArrayIndexOutOfBounds in checkDeltaByteArrayProblem PARQUET-336: Fix ArrayIndexOutOfBounds in checkDeltaByteArrayProblem Jul 16, 2015
@rdblue

rdblue commented Jul 16, 2015

Copy link
Copy Markdown
Contributor

@isnotinvain, I think you're right on this one and the fix looks good.

Is it easy to add a test for this case? It seems like we should have something that catches problems like this when all of the row groups are filtered out for a task.

@isnotinvain

Copy link
Copy Markdown
Contributor Author

Yeah, I am not sure how easy this is to test w/o introducing a mini-cluster test (which can be pretty painful to setup)

I can try and see if a narrow unit-test is do-able.

@isnotinvain

Copy link
Copy Markdown
Contributor Author

Actually, wasn't hard to add a test that hits the issue, seems this issue is hit in local mode as well.

@tsdeng

tsdeng commented Jul 16, 2015

Copy link
Copy Markdown
Contributor

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants