Skip to content

Conversation

@rdblue
Copy link
Contributor

@rdblue rdblue commented Jun 28, 2016

This fixes how null is handled by DictionaryFilter for equals predicates. Null is never in the dictionary and is encoded by the definition level, so the DictionaryFilter would never find the value in the dictionary and would incorrectly filter row groups whenever the filter was col == null.

@piyushnarang
Copy link

👍

@julienledem
Copy link
Member

LGTM

@asfgit asfgit closed this in 9c40a7b Jun 30, 2016
rdblue added a commit to rdblue/parquet-mr that referenced this pull request Jan 6, 2017
This fixes how null is handled by `DictionaryFilter` for equals predicates. Null is never in the dictionary and is encoded by the definition level, so the `DictionaryFilter` would never find the value in the dictionary and would incorrectly filter row groups whenever the filter was `col == null`.

Author: Ryan Blue <blue@apache.org>

Closes apache#348 from rdblue/PARQUET-645-fix-null-dictionary-filter and squashes the following commits:

ae8dd41 [Ryan Blue] PARQUET-645: Fix null handling in DictionaryFilter.
rdblue added a commit to rdblue/parquet-mr that referenced this pull request Jan 10, 2017
This fixes how null is handled by `DictionaryFilter` for equals predicates. Null is never in the dictionary and is encoded by the definition level, so the `DictionaryFilter` would never find the value in the dictionary and would incorrectly filter row groups whenever the filter was `col == null`.

Author: Ryan Blue <blue@apache.org>

Closes apache#348 from rdblue/PARQUET-645-fix-null-dictionary-filter and squashes the following commits:

ae8dd41 [Ryan Blue] PARQUET-645: Fix null handling in DictionaryFilter.
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