Skip to content

Conversation

@JonasJ-ap
Copy link
Contributor

Currently, snapshotDeltaLakeTable.execute()'s result, snapshotDataFilesCount only counts data files in the most recent snapshot of the table. The intended behavior is to report the total number of data files migrated, which include those in all previous snapshots.

This PR fixes this issue and use immutables to implement SnapshotDeltaLakeTable.Result following up the #7089

Signed-off-by: Rushan Jiang <[email protected]>
Signed-off-by: Rushan Jiang <[email protected]>
@github-actions github-actions bot added the build label Apr 27, 2023
@JonasJ-ap
Copy link
Contributor Author

@jackye1995 May I ask if you have time to take a look at this too?

Copy link
Contributor

@jackye1995 jackye1995 left a comment

Choose a reason for hiding this comment

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

thanks for the fix!

…tion_total_file_counter

# Conflicts:
#	delta-lake/src/integration/java/org/apache/iceberg/delta/TestSnapshotDeltaLakeTable.java
Signed-off-by: Rushan Jiang <[email protected]>
@jackye1995 jackye1995 merged commit 5f156d7 into apache:master Apr 28, 2023
manisin pushed a commit to Snowflake-Labs/iceberg that referenced this pull request May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants