Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/17879 )
Change subject: KUDU-2671: WIP Follow up pruning patch. ...................................................................... Patch Set 10: (2 comments) http://gerrit.cloudera.org:8080/#/c/17879/10//COMMIT_MSG Commit Message: http://gerrit.cloudera.org:8080/#/c/17879/10//COMMIT_MSG@7 PS10, Line 7: WIP What needs to be addressed in this patch to remove the WIP tag? Are those look like test-only issues so far? http://gerrit.cloudera.org:8080/#/c/17879/10/src/kudu/common/partition_pruner.cc File src/kudu/common/partition_pruner.cc: http://gerrit.cloudera.org:8080/#/c/17879/10/src/kudu/common/partition_pruner.cc@565 PS10, Line 565: auto partition_key_ranges = ConstructPartitionKeyRanges( : schema, scan_spec, hash_schema, range_bounds); : for (auto& partition_key_range : partition_key_ranges) { : partition_key_ranges_.emplace_back(std::move(partition_key_range)); : } > I don't see how that would work, we need to append the new set of ranges be Indeed -- it seems I missed the presence of that 'for' outside cycle. BTW, there is a more concise way to do this by using std::move() for a range of elements: https://en.cppreference.com/w/cpp/algorithm/move -- To view, visit http://gerrit.cloudera.org:8080/17879 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I3a1bf5344c0ef856072d3ed102714dce5ba21060 Gerrit-Change-Number: 17879 Gerrit-PatchSet: 10 Gerrit-Owner: Mahesh Reddy <[email protected]> Gerrit-Reviewer: Abhishek Chennaka <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Mahesh Reddy <[email protected]> Gerrit-Reviewer: Tidy Bot (241) Gerrit-Comment-Date: Fri, 01 Jul 2022 18:59:38 +0000 Gerrit-HasComments: Yes
