armitage420 commented on code in PR #5539: URL: https://github.com/apache/hive/pull/5539#discussion_r1900464036
########## standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/client/builder/GetPartitionProjectionsSpecBuilder.java: ########## @@ -41,6 +42,12 @@ public GetPartitionProjectionsSpecBuilder addProjectField(String field) { return this; } + public GetPartitionProjectionsSpecBuilder addProjectFieldList(List<String> fields) { + fieldList.addAll(Arrays.asList("catName","dbName","tableName")); Review Comment: Correct. In case where a user wants to keep all projectFieldList, they just do not have to call this method or addProjectField method at all. We would require calling this particular method only once, to add to our request, hence _"catName","dbName","tableName"_ would only be added once along with the list of project fields if any. -- 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. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org