impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Tauber-Marshall (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-5789: Add always false flag in bloom filter
Date Tue, 10 Oct 2017 18:11:44 GMT
Thomas Tauber-Marshall has posted comments on this change. (

Change subject: IMPALA-5789: Add always_false flag in bloom filter

Patch Set 3:


This is definitely going to conflict with my patch, but you should be able to get this in
first so I'll probably have to do the painful rebasing.
Commit Message:
PS3, Line 13: Testing
I assume you ran the existing runtime filter tests?
File be/src/common/
PS3, Line 129: order to provide a regression test for IMPALA-3798 and a test for IMPALA-5789.
This is a little cluttered. I think its okay to just say "for testing purposes" and anyone
who wants to know the exact JIRAs can easily grep for uses of it.
File be/src/exec/filter-context.h:
PS3, Line 129: HasAlwaysFalseInList
I think this needs to be renamed for two reasons:
- We're eventually going to be adding 'in-list' filters (in addition to the existing "bloom"
and soon "min-max" filters), so the "InList" here is potentially confusing.
- Its unusual for a function starting with "Has" to have side effects (incrementing the stats).

Maybe "CheckForAlwaysFalse"? Or something better you come up with.
File be/src/runtime/runtime-filter.inline.h:
PS3, Line 53: return bloom_filter_ != BloomFilter::ALWAYS_TRUE_FILTER &&
            :       bloom_filter_->AlwaysFalse();
single line?
File be/src/util/bloom-filter.h:
PS3, Line 111: hasn't been inserted any elements
hasn't had any elements inserted
File tests/custom_cluster/
PS3, Line 34: impalad = self.cluster.get_any_impalad()
            :     client = impalad.service.create_beeswax_client()
I think you can just add 'cursor' as a parameter to the 'test_' functions.

To view, visit
To unsubscribe, visit

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If680240a3cd4583fc97c3192177d86d9567c4f8d
Gerrit-Change-Number: 8170
Gerrit-PatchSet: 3
Gerrit-Owner: Tianyi Wang <>
Gerrit-Reviewer: Sailesh Mukil <>
Gerrit-Reviewer: Thomas Tauber-Marshall <>
Gerrit-Reviewer: Tianyi Wang <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-Comment-Date: Tue, 10 Oct 2017 18:11:44 +0000
Gerrit-HasComments: Yes

  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message