pola-rs / polars

Dataframes powered by a multithreaded, vectorized query engine, written in Rust
https://docs.pola.rs
Other
28.31k stars 1.76k forks source link

segfault when reading msql using arrow-odbc #16752

Open Sage0614 opened 1 month ago

Sage0614 commented 1 month ago

Checks

Reproducible example

I cannot fully replicate the issue as it requires setup a mssql server

Log output

No response

Issue description

The lastest polars (0.20.31) will segfault when exit job, while using pl.read_database() on mssql server through arrow-odbc(7.0.4)

the data is sucessfully read though. switch from arrow-odbc to connectorx (0.3.3) fix the issue.

Expected behavior

shouldn't segfault

Installed versions

``` Replace this line with the output of pl.show_versions(). Leave the backticks in place. ```
alexander-beedie commented 1 month ago

This sounds more like an issue with arrow-odbc, no? Note that I do have access to a local SQL Server, so if you can provide a reproducible example (eg: table schema, SQL query, etc) then I can test/investigate👌