Skip to content

Conversation

@guptaakashdeep
Copy link
Contributor

@guptaakashdeep guptaakashdeep commented Apr 9, 2025

Closes #1884

Rationale for this change

table.inspect.entries() fails when table is MOR table and has Delete Files present in it. Iceberg MOR Table is created via Apache Spark 3.5.0 with Iceberg 1.5.0 and it's being read via PyIceberg 0.9.0 using StaticTable.from_metadata()

Are these changes tested?

Yes

Are there any user-facing changes?

No

@guptaakashdeep
Copy link
Contributor Author

guptaakashdeep commented Apr 9, 2025

This fixes #1884

@kevinjqliu Can this fix be reviewed once please?

Copy link
Contributor

@Fokko Fokko 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 working on this @guptaakashdeep, that's a great catch 🙌 It looks good, I just suggested a bit more concise syntax. LMKWYT

@Fokko
Copy link
Contributor

Fokko commented Apr 15, 2025

@guptaakashdeep The CI should be fixed? Can you pull in main once more?

@guptaakashdeep
Copy link
Contributor Author

@Fokko Alright done.

@Fokko Fokko added this to the PyIceberg 0.9.1 milestone Apr 16, 2025
@Fokko Fokko merged commit b440682 into apache:main Apr 16, 2025
7 checks passed
@Fokko
Copy link
Contributor

Fokko commented Apr 16, 2025

Thanks @guptaakashdeep 🙌

Fokko pushed a commit that referenced this pull request Apr 17, 2025
#1902)

<!--
Thanks for opening a pull request!
-->

<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
Closes #1884 

# Rationale for this change
table.inspect.entries() fails when table is MOR table and has Delete
Files present in it. Iceberg MOR Table is created via Apache Spark 3.5.0
with Iceberg 1.5.0 and it's being read via PyIceberg 0.9.0 using
StaticTable.from_metadata()


# Are these changes tested?
Yes

# Are there any user-facing changes?
No

<!-- In the case of user-facing changes, please add the changelog label.
-->
gabeiglio pushed a commit to Netflix/iceberg-python that referenced this pull request Aug 13, 2025
apache#1902)

<!--
Thanks for opening a pull request!
-->

<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
Closes apache#1884 

# Rationale for this change
table.inspect.entries() fails when table is MOR table and has Delete
Files present in it. Iceberg MOR Table is created via Apache Spark 3.5.0
with Iceberg 1.5.0 and it's being read via PyIceberg 0.9.0 using
StaticTable.from_metadata()


# Are these changes tested?
Yes

# Are there any user-facing changes?
No

<!-- In the case of user-facing changes, please add the changelog label.
-->
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.

Metadata entries table breaks when the table configured as Merge-on-Read and has Delete Files

2 participants