sfu-db / connector-x

Fastest library to load data from DB to DataFrames in Rust and Python
https://sfu-db.github.io/connector-x
MIT License
1.85k stars 146 forks source link

Infinite Postgres Bug #573 #574

Closed AndrewJackson2020 closed 4 months ago

AndrewJackson2020 commented 4 months ago

Fix for a bug with postgres implementation. In postgres many numeric/date data types can have infinite or negative infinite values. Currently when one of these values is selected in connector-x it results in a runtime panic error. This PR fixes this issue for 3 data type (datetime, date, and real).

Resolves Issue 572

wangxiaoying commented 4 months ago

Thanks for the PR @AndrewJackson2020 , it looks good to me!