Skip to content

Conversation

@nssalian
Copy link
Contributor

@nssalian nssalian commented Jan 13, 2026

Closes #2373

Rationale for this change

Bringing parity to the headers in Python.
The version is as per the HttpClient in Java and the version string is matching IcebergBuild but with PyIceberg instead of Iceberg.

Previously, this was worked on #2652 but since that has stalled, adding a fix to close our the issue. Thanks to @jaimeferj for his original PR.

Are these changes tested?

  • Added a test in tests/catalog/test_rest.py - test_client_version_header

Are there any user-facing changes?

No

@nssalian nssalian marked this pull request as draft January 13, 2026 23:13
@nssalian nssalian marked this pull request as ready for review January 13, 2026 23:25
@nssalian nssalian requested a review from kevinjqliu January 14, 2026 16:28
Copy link
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

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

@kevinjqliu kevinjqliu changed the title X-Client-Version header parity with Iceberg java add X-Client-Version header to rest client Jan 14, 2026
@kevinjqliu kevinjqliu merged commit 36ed4af into apache:main Jan 14, 2026
10 checks passed
@kevinjqliu
Copy link
Contributor

Thanks @nssalian

@nssalian nssalian deleted the fix-2373 branch January 14, 2026 17:58
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.

Make X-Client-Version header more similar to Iceberg Java

2 participants