-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[core] Support custom data file name prefix #4041
Conversation
help cc @JingsongLi local repository tests success. |
@@ -171,6 +171,12 @@ public class CoreOptions implements Serializable { | |||
.withDescription( | |||
"Default file compression zstd level. For higher compression rates, it can be configured to 9, but the read and write speed will significantly decrease."); | |||
|
|||
public static final ConfigOption<String> FILE_PREFIX = | |||
key("file.prefix") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
data-file.prefix
Default value is "data-"
.
@@ -171,6 +171,12 @@ public class CoreOptions implements Serializable { | |||
.withDescription( | |||
"Default file compression zstd level. For higher compression rates, it can be configured to 9, but the read and write speed will significantly decrease."); | |||
|
|||
public static final ConfigOption<String> FILE_PREFIX = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also introduce changelog-file.prefix
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done @JingsongLi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Purpose
Add conf
file.prefix
to control the file name prefix of data files.Tests
API and Format
Documentation