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] Show fileSource in the FilesTable #4443

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

Aitozi
Copy link
Contributor

@Aitozi Aitozi commented Nov 4, 2024

Purpose

This could let user know where is the file come from: Append or Compact.

Tests

API and Format

Documentation

@@ -211,7 +211,8 @@ private List<InternalRow> getExpectedResult(long snapshotId) {
maxCol1, maxKey, partition1, partition2)),
file.minSequenceNumber(),
file.maxSequenceNumber(),
file.creationTime()));
file.creationTime(),
BinaryString.fromString(file.fileSource().get().toString())));
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not :
BinaryString.fromString(file.fileSource().map(FileSource::toString).orElse(null))
?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

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 5844a89 into apache:master Nov 5, 2024
11 of 12 checks passed
hang8929201 pushed a commit to hang8929201/paimon that referenced this pull request Nov 7, 2024
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