Skip to content

Windows error 1224#1

Merged
davidgohel merged 3 commits intomainfrom
windows-error-1224
Apr 7, 2025
Merged

Windows error 1224#1
davidgohel merged 3 commits intomainfrom
windows-error-1224

Conversation

@eli-daniels
Copy link
Contributor

Fix error when using store_dataset() on windows causing error

simpleError: IOError: Failed to open local file 'C:/Users/EliDaniels/AppData/Local/Temp/RtmpU7p9u5/ws652c38bf86f/dataset_description.parquet'. Detail: [Windows error 1224] The requested operation cannot be performed on a file with a user-mapped section open.

Setting mmap argument of arrow::read_parquet() to FALSE fixes it. Seems to be related to this issue: apache/arrow#41714

@eli-daniels eli-daniels requested a review from davidgohel April 7, 2025 12:16
@davidgohel
Copy link
Member

merci @eli-daniels

@davidgohel davidgohel merged commit 6e4eff8 into main Apr 7, 2025
3 checks passed
@eli-daniels eli-daniels deleted the windows-error-1224 branch July 31, 2025 11:37
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