You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "daixiaoyu (via GitHub)" <gi...@apache.org> on 2023/05/05 11:48:48 UTC
[GitHub] [incubator-paimon] daixiaoyu commented on a diff in pull request #1069: [flink]CompactAction support catalog config
daixiaoyu commented on code in PR #1069:
URL: https://github.com/apache/incubator-paimon/pull/1069#discussion_r1185999702
##########
paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/CompactAction.java:
##########
@@ -74,6 +79,13 @@ public CompactAction withPartitions(List<Map<String, String>> partitions) {
return this;
}
+ static Options getCatalogOptions(MultipleParameterTool params) {
+ Optional<Map<String, String>> catalogConfigOption = getConfigMap(params, "catalog-conf");
+ Options options = new Options();
+ catalogConfigOption.ifPresent(catalogConfigMap -> catalogConfigMap.forEach(options::set));
+ return options;
Review Comment:
Have been modified
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org