Skip to content

Support decimal data type in arrow #751

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
nickolay opened this issue Feb 5, 2025 · 2 comments
Open

Support decimal data type in arrow #751

nickolay opened this issue Feb 5, 2025 · 2 comments

Comments

@nickolay
Copy link

nickolay commented Feb 5, 2025

Describe your feature request

Columns of type DECIMAL in the database should be kept DECIMAL in arrow/polars instead of being converted to FLOAT/DOUBLE.

Motivation: when porting existing code from MSSQL to polars/duckdb, I expected the rewrite to produce the exact same results, but float/decimal differences prevented this from happening. I had to cast back to decimal in duckdb manually.

Currently

@Rhiyo
Copy link

Rhiyo commented Mar 24, 2025

Following as I would like the same thing. A warning is given on the DLT package as you can lose precision.

@nphard
Copy link

nphard commented Mar 26, 2025

the same for the numeric here,can we support precision numeric big than 28?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants