Using the with_schema function does not work correctly because Polars expects to receive all column names, and with the correct order. We are passing a map to the backend, and then we transform that to a list before calling the Rust code. So the schema could be out-of-order.
We are now using with_schema_overwrite for both load_csv and from_csv.
Using the
with_schema
function does not work correctly because Polars expects to receive all column names, and with the correct order. We are passing a map to the backend, and then we transform that to a list before calling the Rust code. So the schema could be out-of-order.We are now using
with_schema_overwrite
for bothload_csv
andfrom_csv
.Closes https://github.com/elixir-explorer/explorer/issues/953