jorisvandenbossche commented on issue #34644:
URL: https://github.com/apache/arrow/issues/34644#issuecomment-1477411956

   On the other hand, float truncation is indeed done by postgres:
   
   ```
   test_db=# SELECT CAST (1.5 AS integer);
    int4 
   ------
       2
   (1 row)
   ```
   
   (although it is interesting to see that the result is 2, while in arrow 
casting 1.5 to int64 with allow_float_truncate=True gives 1)


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