gruuya commented on PR #8700:
URL: https://github.com/apache/arrow-rs/pull/8700#issuecomment-3758379668

   > By chance would this PR also address
   > 
   >     * [Parsing Decimal With Negative Exponent And Zero Scale Can Overflow 
#5762](https://github.com/apache/arrow-rs/issues/5762)
   > 
   > 
   > Or is it a different cause?
   
   No, actually this is the same problem I laid out here 
https://github.com/apache/arrow-rs/pull/8700#issuecomment-3696913488. 
   
   And as mentioned one potential solution for it is 
https://github.com/apache/arrow-rs/issues/9170, where we could avoid redundant 
multiplication by base factor, followed immediately by division when we parse 
the e-notation (since then we'd know the exponent in advance, and could stop 
processing digits on time to avoid the overflow).


-- 
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]

Reply via email to