wwj6591812 commented on code in PR #4884:
URL: https://github.com/apache/paimon/pull/4884#discussion_r1912355288
##########
paimon-common/src/main/java/org/apache/paimon/CoreOptions.java:
##########
@@ -442,6 +443,25 @@ public class CoreOptions implements Serializable {
"If set to true, compactions and snapshot
expiration will be skipped. "
+ "This option is used along with
dedicated compact jobs.");
+ public static final ConfigOption<String> WRITE_SKIP_ACTIONS =
+ key("write.skip-actions")
+ .stringType()
Review Comment:
enumType?
##########
paimon-common/src/main/java/org/apache/paimon/CoreOptions.java:
##########
@@ -442,6 +443,25 @@ public class CoreOptions implements Serializable {
"If set to true, compactions and snapshot
expiration will be skipped. "
+ "This option is used along with
dedicated compact jobs.");
+ public static final ConfigOption<String> WRITE_SKIP_ACTIONS =
+ key("write.skip-actions")
+ .stringType()
+ .noDefaultValue()
+ .withDescription(
+ Description.builder()
+ .text(
+ "This parameter only works when
write-only is false., You can specify which actions to skip during the write
process.")
+ .linebreak()
+ .text("1. 'partition-expire': skipping
partition expire.")
Review Comment:
skipping -> skip?
##########
paimon-common/src/main/java/org/apache/paimon/CoreOptions.java:
##########
@@ -2216,6 +2236,27 @@ public boolean writeOnly() {
return options.get(WRITE_ONLY);
}
+ public HashSet<WriteAction> writeSkippingActions() {
Review Comment:
public Set<WriteAction> writeSkippingActions(
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]