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

Feat/support datearray #600

Open Jordan-M-Young opened 2 months ago

Jordan-M-Young commented 2 months ago

This PR seeks to add support for the _date/DATE[] date array type for postgres as requested int this issue. To accomplish this I've added the following:

- Date array types in postgres source, postgres_arrow2 transport, and arrow2 destination type systems.
- updated postgres.sql script for adding dummy _date data to test db.
- test in test_polars.rs