Skip to content
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

Merged
merged 5 commits into from
Sep 11, 2024

Conversation

askwang
Copy link
Contributor

@askwang askwang commented Aug 22, 2024

Purpose

Add conf file.prefix to control the file name prefix of data files.

Tests

API and Format

Documentation

@askwang askwang closed this Sep 2, 2024
@askwang askwang reopened this Sep 2, 2024
@askwang askwang closed this Sep 2, 2024
@askwang askwang reopened this Sep 2, 2024
@askwang
Copy link
Contributor Author

askwang commented Sep 2, 2024

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")
Copy link
Contributor

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 =
Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@JingsongLi JingsongLi merged commit 6533329 into apache:master Sep 11, 2024
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants