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-4252: Min-max runtime filters for Kudu
Date Thu, 09 Nov 2017 18:53:40 GMT
Thomas Tauber-Marshall has posted comments on this change. (

Change subject: IMPALA-4252: Min-max runtime filters for Kudu

Patch Set 14:

File be/src/exec/
PS13, Line 200:             if (!filter->GetCastIntMinMax(col_type, &int_min, &int_max))
> Unfortunate that that every Kudu client has to do this.
This is something that's been discussed before (see KUDU-931), I'm not sure why they decided
not to do it.
File be/src/util/
PS13, Line 139:     case TYPE_BIGINT:
> using std::numeric_limits; at the top if this file
PS13, Line 165: 
> Brief comment especially about the return value would be good.
File fe/src/main/java/org/apache/impala/planner/
PS13, Line 604:         // must be a SlotRef pointing to a column. We can allow implicit integer
> typo: We can allow implicit integer casts
PS13, Line 605:         // by casting the min/max values before sending them to Kudu.
> min/max values
File testdata/workloads/functional-query/queries/QueryTest/min_max_filters.test:
PS13, Line 98: where a.tinyint_col = b.int_col and b.int_col in (0, 1)
> Let's make the min/max filter selective, e.g. by adding where b.int_col in 
PS13, Line 103: # The min/max values in the filter are both above the range of the target
col so all rows
> Let's also add a non-selective case where the min/max values fall outside t

To view, visit
To unsubscribe, visit

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I02bad890f5b5f78388a3041bf38f89369b5e2f1c
Gerrit-Change-Number: 7793
Gerrit-PatchSet: 14
Gerrit-Owner: Thomas Tauber-Marshall <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Anonymous Coward #345
Gerrit-Reviewer: Dan Hecht <>
Gerrit-Reviewer: Lars Volker <>
Gerrit-Reviewer: Matthew Jacobs <>
Gerrit-Reviewer: Michael Ho <>
Gerrit-Reviewer: Mostafa Mokhtar <>
Gerrit-Reviewer: Thomas Tauber-Marshall <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-Reviewer: Todd Lipcon <>
Gerrit-Comment-Date: Thu, 09 Nov 2017 18:53:40 +0000
Gerrit-HasComments: Yes

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