andygrove commented on issue #10315: URL: https://github.com/apache/datafusion/issues/10315#issuecomment-6932919585
This works now: arrow-cast's string-to-decimal cast switched to `parse_decimal`, which handles exponents. I checked with arrow 60.1 (the version on main): `'4e7'`, `'4E7'`, `'1.5e-2'` and `'-2.5e3'` all cast to `Decimal128(10, 2)` and `Decimal128(38, 2)` as expected (40000000.00, 0.02, -2500.00). Closing as completed. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
