You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "Jefffrey (via GitHub)" <gi...@apache.org> on 2026/06/28 01:08:00 UTC
Re: [I] Datafusion downcasts decimal loosing precision [datafusion]
Jefffrey commented on issue #13492:
URL: https://github.com/apache/datafusion/issues/13492#issuecomment-4823711396
fixed upstream, running on datafusion main:
```sql
DataFusion CLI v54.0.0
> select cast( cast(12345.6789 as decimal(24,2)) as decimal(6,2));
Optimizer rule 'simplify_expressions' failed
caused by
Arrow error: Invalid argument error: 12345.68 is too large to store in a Decimal128 of precision 6. Max is 9999.99
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org