zeroshade commented on issue #36998:
URL: https://github.com/apache/arrow/issues/36998#issuecomment-1664757532

   The second argument to the division is 
`compute.NewDatum(math.Pow10(int(16))))` which will be a `float64` since that's 
the type returned by `math.Pow10`. In the case of an int64 divided by a 
float64, the integer gets promoted. So it first tries to cast 
`12345000000000000` to a float64, which is invalid because the largest integer 
that can be represented by a float64 is 2^53, or 9007199254740992. 


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