Mahesh Reddy has posted comments on this change. ( http://gerrit.cloudera.org:8080/18582 )
Change subject: KUDU-2671 refactor PartitionSchema::CreatePartitions() ...................................................................... Patch Set 8: (2 comments) http://gerrit.cloudera.org:8080/#/c/18582/8/src/kudu/common/partition.cc File src/kudu/common/partition.cc: http://gerrit.cloudera.org:8080/#/c/18582/8/src/kudu/common/partition.cc@626 PS8, Line 626: Status PartitionSchema::CreatePartitions(const Schema& schema, : vector<Partition>* partitions) const { : return CreatePartitions(ranges_with_hash_schemas_, schema, partitions); : } Why is this method necessary? Why can't we just directly call the CreatePartitions() function signature with three parameters with partition_schema.ranges_with_hash_schemas() as the first parameter? http://gerrit.cloudera.org:8080/#/c/18582/8/src/kudu/master/catalog_manager.cc File src/kudu/master/catalog_manager.cc: http://gerrit.cloudera.org:8080/#/c/18582/8/src/kudu/master/catalog_manager.cc@2635 PS8, Line 2635: bouds nit:bounds -- To view, visit http://gerrit.cloudera.org:8080/18582 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I5bac1f8ee349577e2f912530a28776415ed0a5b0 Gerrit-Change-Number: 18582 Gerrit-PatchSet: 8 Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Abhishek Chennaka <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Attila Bukor <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Mahesh Reddy <[email protected]> Gerrit-Reviewer: Tidy Bot (241) Gerrit-Comment-Date: Mon, 13 Jun 2022 22:48:19 +0000 Gerrit-HasComments: Yes
