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

Add data file root location in DataFileMeta #4751

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

neuyilan
Copy link
Member

Purpose

Linked issue: close #xxx

Tests

API and Format

Documentation

@wwj6591812
Copy link
Contributor

Please add the Purpose of this PR.

@@ -131,6 +131,20 @@ public class CoreOptions implements Serializable {
.noDefaultValue()
.withDescription("The file path of this table in the filesystem.");

@ExcludeFromDocumentation("Internal use only")
public static final ConfigOption<String> WAREHOUSE_ROOT_PATH =
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 not introduce any option in this pr? Just modify data file meta.

* warehouse path, when {@link CoreOptions#DATA_FILE_PATH_DIRECTORY} is set, new writen files
* will be persisted in {@link CoreOptions#DATA_FILE_PATH_DIRECTORY}.
*/
private final @Nullable String dataRootLocation;
Copy link
Contributor

@JingsongLi JingsongLi Dec 22, 2024

Choose a reason for hiding this comment

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

We need to introduce a new version for CommitMessage and DataSplit.

You can refer to #4322

* warehouse path, when {@link CoreOptions#DATA_FILE_PATH_DIRECTORY} is set, new writen files
* will be persisted in {@link CoreOptions#DATA_FILE_PATH_DIRECTORY}.
*/
private final @Nullable String dataRootLocation;
Copy link
Contributor

Choose a reason for hiding this comment

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

rename to externalPath?

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.

3 participants