alamb commented on issue #7939: URL: https://github.com/apache/arrow-rs/issues/7939#issuecomment-3108785458
> I don't think I understand why any decimal 256 value should map to float INF, let alone a decimal 128 value? Shouldn't we just convert the values to the nearest representable float? Similar to how converting from decimal to int truncates/rounds the decimal part? Or is the conversion defined to fail if it would be lossy? I am not an expert in this area so I am not sure The cast kernels have options on what to do on a failure: either return an error or convert to null. Not sure about this one -- 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-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org