We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
PR #6917 fixed #6853 by limiting the number of characters to 88 in the exception message. However, it also reverses the actual string itself.
It seems like the function:
polars/py-polars/src/file.rs
Lines 192 to 201 in 8364186
Line 194 in 8364186
The intended functionality is to use the 88 last characters directly.
import polars as pl pl.read_csv('TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTJJnon-existing-long-path') >> FileNotFoundError: No such file or directory: ...htap-gnol-gnitsixe-nonJJTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
import polars as pl pl.read_csv('TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTJJnon-existing-long-path') >> FileNotFoundError: No such file or directory: ...TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTJJnon-existing-long-path
---Version info--- Polars: 0.16.14 Index type: UInt32 Platform: Linux-6.2.6-arch1-1-x86_64-with-glibc2.37 Python: 3.10.10 (main, Mar 5 2023, 22:26:53) [GCC 12.2.1 20230201] ---Optional dependencies--- numpy: 1.24.2 pandas: 1.5.3 pyarrow: <not installed> connectorx: <not installed> deltalake: <not installed> fsspec: <not installed> matplotlib: <not installed> xlsx2csv: <not installed> xlsxwriter: <not installed>
The text was updated successfully, but these errors were encountered:
fix(python): fix non-existant error msg (pola-rs#7657)
7d1200c
fix(python): fix reversed non-existant file error msg (#7657) (#7673)
55400aa
Successfully merging a pull request may close this issue.
Polars version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Issue description
PR #6917 fixed #6853 by limiting the number of characters to 88 in the exception message. However, it also reverses the actual string itself.
It seems like the function:
polars/py-polars/src/file.rs
Lines 192 to 201 in 8364186
and specifically the line
polars/py-polars/src/file.rs
Line 194 in 8364186
is responsible for the reversal.
The intended functionality is to use the 88 last characters directly.
Reproducible example
Expected behavior
Installed versions
The text was updated successfully, but these errors were encountered: