mcvsubbu commented on a change in pull request #6976: URL: https://github.com/apache/incubator-pinot/pull/6976#discussion_r639328469
########## File path: pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotSegmentUploadDownloadRestletResource.java ########## @@ -292,12 +292,12 @@ private SuccessResponse uploadSegment(@Nullable String tableName, TableType tabl tableNameWithType); zkDownloadUri = downloadUri; } else { - zkDownloadUri = getZkDownloadURIForSegmentUpload(tableNameWithType, segmentName); + zkDownloadUri = getZkDownloadURIForSegmentUpload(tableName, segmentName); } // Zk operations - completeZkOperations(enableParallelPushProtection, headers, finalSegmentFile, tableNameWithType, segmentMetadata, - segmentName, zkDownloadUri, moveSegmentToFinalLocation, crypterClassName); + completeZkOperations(enableParallelPushProtection, headers, finalSegmentFile, tableName, tableNameWithType, Review comment: I think it is better to reduce the number of arguments, yes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org