Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/18712 )
Change subject: KUDU-2671 Make WebUI compatible with custom hash schema ...................................................................... Patch Set 5: Code-Review+1 (6 comments) http://gerrit.cloudera.org:8080/#/c/18712/5/src/kudu/common/partition.h File src/kudu/common/partition.h: http://gerrit.cloudera.org:8080/#/c/18712/5/src/kudu/common/partition.h@406 PS5, Line 406: a comma separated BTW, impala-shell is going to output them as space separated: https://gerrit.cloudera.org/#/c/18720/ Should we use the same convention here as well? What do you think? http://gerrit.cloudera.org:8080/#/c/18712/5/src/kudu/common/partition.cc File src/kudu/common/partition.cc: http://gerrit.cloudera.org:8080/#/c/18712/5/src/kudu/common/partition.cc@1059 PS5, Line 1059: } else if (lower_unbounded) { : partition = Substitute("VALUES < $0", RangeKeyDebugString(lower)); : } else if (upper_unbounded) { : partition = Substitute("VALUES >= $0", RangeKeyDebugString(upper)); It seems this is messed up a bit. Overall, using '$0 <= VALUES' and 'VALUES < $0' is easier to comprehend when reading. http://gerrit.cloudera.org:8080/#/c/18712/5/src/kudu/common/partition.cc@1064 PS5, Line 1064: < Should this be '<='? http://gerrit.cloudera.org:8080/#/c/18712/5/src/kudu/common/partition.cc@1195 PS5, Line 1195: range_schema nit: 'range_schema' usually means range partitioning schema, so it's a bit confusing for me to read trough this piece. Maybe, rename this variable into 'range'? http://gerrit.cloudera.org:8080/#/c/18712/5/src/kudu/common/partition.cc@1197 PS5, Line 1197: Hash Schema Could we drop this part? The header of the column already provides the 'hash schema' context. http://gerrit.cloudera.org:8080/#/c/18712/5/src/kudu/common/partition.cc@1219 PS5, Line 1219: Hash Schema Could we drop this part? The header of the column already provides the 'hash schema' context. -- To view, visit http://gerrit.cloudera.org:8080/18712 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ic8b8d90f70c39f13b838e858c870e08dacbdfcd3 Gerrit-Change-Number: 18712 Gerrit-PatchSet: 5 Gerrit-Owner: Abhishek Chennaka <[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: Wed, 13 Jul 2022 19:01:40 +0000 Gerrit-HasComments: Yes
