Qifan Chen has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/16103 )

Change subject: IMPALA-9294: Support DATE for min-max runtime filter
......................................................................


Patch Set 3:

(6 comments)

Looks good to me.  Have some comments. Thanks!

http://gerrit.cloudera.org:8080/#/c/16103/3/be/src/runtime/date-value.h
File be/src/runtime/date-value.h:

http://gerrit.cloudera.org:8080/#/c/16103/3/be/src/runtime/date-value.h@179
PS3, Line 179: pvalue
Do we need to worry pvalue being nullptr?


http://gerrit.cloudera.org:8080/#/c/16103/3/be/src/util/min-max-filter-test.cc
File be/src/util/min-max-filter-test.cc:

http://gerrit.cloudera.org:8080/#/c/16103/3/be/src/util/min-max-filter-test.cc@371
PS3, Line 371: DATE_TIME_CHECK_VALS
Maybe rename it as CHECK_NON_EMPTY_FILTER.


http://gerrit.cloudera.org:8080/#/c/16103/3/be/src/util/min-max-filter.h
File be/src/util/min-max-filter.h:

http://gerrit.cloudera.org:8080/#/c/16103/3/be/src/util/min-max-filter.h@220
PS3, Line 220:
min_ and max_ are not inited in the cstr.


http://gerrit.cloudera.org:8080/#/c/16103/3/be/src/util/min-max-filter.cc
File be/src/util/min-max-filter.cc:

http://gerrit.cloudera.org:8080/#/c/16103/3/be/src/util/min-max-filter.cc@368
PS3, Line 368: in
I wonder if In can be empty?


http://gerrit.cloudera.org:8080/#/c/16103/3/testdata/workloads/functional-planner/queries/PlannerTest/min-max-runtime-filters.test
File 
testdata/workloads/functional-planner/queries/PlannerTest/min-max-runtime-filters.test:

http://gerrit.cloudera.org:8080/#/c/16103/3/testdata/workloads/functional-planner/queries/PlannerTest/min-max-runtime-filters.test@167
PS3, Line 167:  Date type of column for
Maybe "Query with date-typed join column"?


http://gerrit.cloudera.org:8080/#/c/16103/3/testdata/workloads/functional-planner/queries/PlannerTest/min-max-runtime-filters.test@168
PS3, Line 168: functional_kudu.date_tbl a
             :     join [BROADCAST] functional_kudu.date_tbl b
It may be useful to include some additional join queries:
1. 3-way join on date-typed join columns;
2. 3-way join, one join column on date, and another join column on a non-date, 
such as int etc.



--
To view, visit http://gerrit.cloudera.org:8080/16103
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic2f6e2dc6949735d5f0fcf317361cc2969a5e82c
Gerrit-Change-Number: 16103
Gerrit-PatchSet: 3
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Qifan Chen <qc...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tmarsh...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Fri, 26 Jun 2020 19:24:01 +0000
Gerrit-HasComments: Yes

Reply via email to