Skip to content

GH-49078: [FS][Azure] Fix lossy pickling of SubTreeFileSystem(base_path, AzureFileSystem(...))#49140

Draft
Tom-Newton wants to merge 6 commits intoapache:mainfrom
Tom-Newton:tomnewton/fix_lossy_pickling_of_azure_filesystem/GH-49078
Draft

GH-49078: [FS][Azure] Fix lossy pickling of SubTreeFileSystem(base_path, AzureFileSystem(...))#49140
Tom-Newton wants to merge 6 commits intoapache:mainfrom
Tom-Newton:tomnewton/fix_lossy_pickling_of_azure_filesystem/GH-49078

Conversation

@Tom-Newton
Copy link
Contributor

@Tom-Newton Tom-Newton commented Feb 4, 2026

Rationale for this change

Fix #49078

What changes are included in this PR?

Don't store any paramaters only on the python side object. Store this information on the C++ side AzureOptions and add getter methods, to use in __reduce__.

Are these changes tested?

Are there any user-facing changes?

Only that pickling SubTreeFileSystem(base_path, AzureFileSystem(...)) now works properly.

@github-actions
Copy link

github-actions bot commented Feb 4, 2026

⚠️ GitHub issue #49078 has been automatically assigned in GitHub to PR creator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Python][FS][Azure] Pickling SubTreeFileSystem(base_path, AzureFileSystem(...)) is lossy

1 participant