Skip to content

Fix predicate-based ValueMatcher behavior for IncrementalIndex on missing columns.#2737

Merged
jon-wei merged 1 commit intoapache:masterfrom
gianm:fix-iisa-valueMatcher-predicate
Mar 25, 2016
Merged

Fix predicate-based ValueMatcher behavior for IncrementalIndex on missing columns.#2737
jon-wei merged 1 commit intoapache:masterfrom
gianm:fix-iisa-valueMatcher-predicate

Conversation

@gianm
Copy link
Copy Markdown
Contributor

@gianm gianm commented Mar 25, 2016

Missing columns should be treated the same as columns containing 100% nulls.

No tests in this PR, but #2727 contains some tests that do catch this as part of a new set of filter tests. (that's how I noticed it)

…sing columns.

Missing columns should be treated the same as columns containing 100% nulls.
@drcrallen
Copy link
Copy Markdown
Contributor

@gianm is there a unit test that can be added for such a case?

@gianm
Copy link
Copy Markdown
Contributor Author

gianm commented Mar 25, 2016

@drcrallen #2727 has some tests that do hit this case (in new test files), I didn't include them here since they were already in that one.

this is one of them: https://github.com/druid-io/druid/pull/2727/files#diff-fcf344c7211cdbe0c45d06ec5ade158aR135

@drcrallen
Copy link
Copy Markdown
Contributor

👍

1 similar comment
@jon-wei
Copy link
Copy Markdown
Contributor

jon-wei commented Mar 25, 2016

👍

@jon-wei jon-wei merged commit 02d0c70 into apache:master Mar 25, 2016
@gianm gianm deleted the fix-iisa-valueMatcher-predicate branch March 25, 2016 21:11
@jon-wei jon-wei mentioned this pull request Apr 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants