pola-rs / polars

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

feat(python): Minor DB type inference updates #16030

Closed alexander-beedie closed 2 weeks ago

alexander-beedie commented 2 weeks ago

A much larger update for database-related type inference is brewing, but this is a minor update to catch "bpchar" and "cardinal number" type names (as used in PostgreSQL).

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.91%. Comparing base (5da378f) to head (39efecf).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #16030 +/- ## ========================================== - Coverage 80.92% 80.91% -0.01% ========================================== Files 1385 1385 Lines 178227 178229 +2 Branches 3050 3051 +1 ========================================== - Hits 144234 144222 -12 - Misses 33505 33518 +13 - Partials 488 489 +1 ``` | [Flag](https://app.codecov.io/gh/pola-rs/polars/pull/16030/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pola-rs) | Coverage Δ | | |---|---|---| | [python](https://app.codecov.io/gh/pola-rs/polars/pull/16030/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pola-rs) | `74.40% <100.00%> (-0.03%)` | :arrow_down: | | [rust](https://app.codecov.io/gh/pola-rs/polars/pull/16030/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pola-rs) | `78.13% <100.00%> (-0.01%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pola-rs#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.