ComputeError: unable to parse Hive partition value: "TRUE" #16381
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
I have a large dataset of stock data, which includes ticker names. One of those tickers is "TRUE" (apparently it's the company TrueCar). I am trying to partition the dataset based on, among other things, the ticker. This seems to work fine, but when I try to load the dataset back in with
scan_csv
, polars complains about parsing the "TRUE" partition (see above).Changing the value of "TRUE" to "TEST" (in the data and the Enum) fixes the issue. Changing it back to "FALSE" causes the issue to occur again, which leads me to believe there is some logic being applied to attempt to parse boolean values, causing the issue.
Expected behavior
code above should run with no errors, as it does when "TRUE" is replaced with "TEST" (for example)
Installed versions
The text was updated successfully, but these errors were encountered: