apache / apache/arrow-adbc

python: add support for non-ascii charactor path

Open
#3,970 3 comments 0 reactions 0 assignees View on GitHub
help wanted Type: enhancement
Dominant language
C#
Stars
627
Forks
217
Avg merge
17h
Merged PRs (30d)
57

Description

### What feature or improvement would you like to see?

Platform: Windows 11
Coding Language: Python 3.13

I'm using polars with adbc_driver_sqlite package to handle my database.
The virtual environment is at some path with Chinese charactors. When I use pl.write_database(..., engine='adbc'), I got adbc_driver_manager.ProgrammingError: NOT_FOUND: [Driver Manager] Could not load `\some\path\with\Chinese\charactors\.venv\Lib\site-packages\adbc_driver_sqlite\libadbc_driver_sqlite.so`: LoadLibraryExW() failed: (126). This issue disappears if I change the path to a pure ASCII charactor path.

I would really appreciate it if this would be improved.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.