Skip to content

fix(services/azdls): return user metadata from stat#7532

Merged
Xuanwo merged 1 commit into
mainfrom
xuanwo/fix-azdls-user-metadata-stat
May 16, 2026
Merged

fix(services/azdls): return user metadata from stat#7532
Xuanwo merged 1 commit into
mainfrom
xuanwo/fix-azdls-user-metadata-stat

Conversation

@Xuanwo
Copy link
Copy Markdown
Member

@Xuanwo Xuanwo commented May 16, 2026

Which issue does this PR close?

Closes #.

Rationale for this change

azdls recently enabled write_with_user_metadata, but stat still used action=getStatus when fetching path properties. Azure Data Lake Storage Gen2 only returns system-defined properties for getStatus, so x-ms-properties was omitted and the behavior tests observed missing user metadata after write.

What changes are included in this PR?

This PR changes azdls stat to call the default Get Properties API instead of Get Status, allowing Azure to return both system and user-defined properties.

Are there any user-facing changes?

No API changes. azdls now correctly returns user metadata from stat after writes that set user metadata.

AI Usage Statement

This PR was prepared with AI assistance.

@Xuanwo Xuanwo marked this pull request as ready for review May 16, 2026 16:47
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. releases-note/fix The PR fixes a bug or has a title that begins with "fix" labels May 16, 2026
@Xuanwo Xuanwo changed the title fix(services/azdls): fetch user metadata in stat fix(services/azdls): return user metadata from stat May 16, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label May 16, 2026
@Xuanwo Xuanwo merged commit e2e1d49 into main May 16, 2026
108 checks passed
@Xuanwo Xuanwo deleted the xuanwo/fix-azdls-user-metadata-stat branch May 16, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer releases-note/fix The PR fixes a bug or has a title that begins with "fix" size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants