DanTm99 opened a new issue, #37377: URL: https://github.com/apache/arrow/issues/37377
### Describe the bug, including details regarding any error messages, version, and platform. `TimestampArray.ConvertTo()` can return an erroneous value when `ticks` is large (both positive and negative) and `DataType.Unit` is `Nanosecond`, due to an overflow silently occurring when multiplying ticks. This could be replaced with an explicit error, by returning an `OverflowException` on overflow. C# doesn't check for overflows by default, but this can be enabled by performing the calculation in a `checked` operation. However, this could lead to a breaking change, as it would require the explicit handling of errors when overflows occur when building a timestamp array. But this would mean all occurrences of this error will be explicit, instead of silently producing bad data. ### Component(s) C# -- 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]
