Zoltan Borok-Nagy has posted comments on this change. ( http://gerrit.cloudera.org:8080/15411 )
Change subject: IMPALA-6267: MT scanners check filters per split ...................................................................... Patch Set 5: Code-Review+1 (3 comments) http://gerrit.cloudera.org:8080/#/c/15411/5/be/src/exec/hdfs-scan-node-base.cc File be/src/exec/hdfs-scan-node-base.cc: http://gerrit.cloudera.org:8080/#/c/15411/5/be/src/exec/hdfs-scan-node-base.cc@709 PS5, Line 709: !SkipIfRangePassesFilters nit: For me it's hard to read the code with this function name. * "Skip if range passes filters" is not true, because it skips the range when it doesn't pass the filters * For me return true would suggest that the skipping was successful. It's hard to come up with a good name because the function does multiple things, maybe split it up for readability? Or maybe make it void and pass a ScanRange** so it can set *scan_range to nullptr? http://gerrit.cloudera.org:8080/#/c/15411/5/tests/query_test/test_runtime_filters.py File tests/query_test/test_runtime_filters.py: http://gerrit.cloudera.org:8080/#/c/15411/5/tests/query_test/test_runtime_filters.py@101 PS5, Line 101: self.client.set_configuration(new_vector.get_value('exec_option')) Can we move it out from the loop? http://gerrit.cloudera.org:8080/#/c/15411/5/tests/query_test/test_runtime_filters.py@107 PS5, Line 107: print self.client.get_runtime_profile(handle) This printout seems like a leftover from debugging. -- To view, visit http://gerrit.cloudera.org:8080/15411 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ic40eb4cb2419393e6f7cd7bd019add9224946c4d Gerrit-Change-Number: 15411 Gerrit-PatchSet: 5 Gerrit-Owner: Tim Armstrong <[email protected]> Gerrit-Reviewer: Gabor Kaszab <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]> Gerrit-Comment-Date: Fri, 13 Mar 2020 15:35:53 +0000 Gerrit-HasComments: Yes
