Skip to content

PARQUET-645: Fix null handling in DictionaryFilter. - #348

Closed
rdblue wants to merge 1 commit into
apache:masterfrom
rdblue:PARQUET-645-fix-null-dictionary-filter
Closed

PARQUET-645: Fix null handling in DictionaryFilter.#348
rdblue wants to merge 1 commit into
apache:masterfrom
rdblue:PARQUET-645-fix-null-dictionary-filter

Conversation

@rdblue

@rdblue rdblue commented Jun 28, 2016

Copy link
Copy Markdown
Contributor

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
Copy Markdown

👍

@julienledem

Copy link
Copy Markdown
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