Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem writing on a TileDB array with long file path Windows #2627

Open
giordizz opened this issue Nov 18, 2021 · 2 comments
Open

Problem writing on a TileDB array with long file path Windows #2627

giordizz opened this issue Nov 18, 2021 · 2 comments

Comments

@giordizz
Copy link

giordizz commented Nov 18, 2021

I get a TileDB::IO exception (File opening error - Failed to convert URI) when I try to write (not create) a TileDB array located in a filesystem directory Windows with a long path.
Is there any known limit about a directory path length?

@ihnorton
Copy link
Member

ihnorton commented Nov 18, 2021

Hi @giordizz, currently the limit is the win22 API MAX_PATH of 260 characters. Because of various aspects , effectively this means the array path needs to be under 166 characters. I've opened an issue to fix support for NT-style extended paths (\\?\C:\...) which do not have the path-length limitation -- currently not supported -- and we'll look in to moving to the newer APIs without the MAX_PATH limit as soon as possible.


https://app.shortcut.com/tiledb-inc/story/12254/runtime-support-for-long-paths-on-windows

@giordizz
Copy link
Author

Hi @ihnorton, perfect no problem! Thanks for the support.

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

No branches or pull requests

2 participants