Skip to content

Conversation

@singhpk234
Copy link
Contributor

@singhpk234 singhpk234 commented Sep 19, 2025

About the change

For the credential refresh endpoint for the ADLS its expected the expiration time should be sent with the prefix of AZURE_SAS_TOKEN_EXPIRES_AT_MS_PREFIX which presently Polaris doesn't sends as the course of that the CredentialProvider responsible for the refresh fails the assertion here https://github.com/apache/iceberg/blob/main/azure/src/main/java/org/apache/iceberg/azure/adlsv2/VendedAdlsCredentialProvider.java#L123
and hence not making it usable.

P.S I think we should also use constants for iceberg SDK in the StorageAccessProperty, but this is an orthogonal discussion for now.

Testing

Add a small UT

Copy link
Contributor

@dimas-b dimas-b 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 catching this, @singhpk234 !

dimas-b
dimas-b previously approved these changes Sep 19, 2025
@github-project-automation github-project-automation bot moved this from PRs In Progress to Ready to merge in Basic Kanban Board Sep 19, 2025
Copy link
Contributor

@dimas-b dimas-b left a comment

Choose a reason for hiding this comment

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

Could you also add a note to CHANGELOG.md?

@singhpk234
Copy link
Contributor Author

ACK, seems like we haven't frozen the CHANGELOG for 1.1, i put a PR for this here

will add the CHANGELOG for this bug fix on the unreleased section so we can use this in prep of 1.2.

@singhpk234 singhpk234 merged commit 7f5fb06 into apache:main Sep 19, 2025
14 checks passed
@github-project-automation github-project-automation bot moved this from Ready to merge to Done in Basic Kanban Board Sep 19, 2025
@singhpk234 singhpk234 deleted the feature/fix-azure-expires-at branch September 19, 2025 23:53
@singhpk234
Copy link
Contributor Author

Thank you @dimas-b !

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.

2 participants