pitrou commented on pull request #12528:
URL: https://github.com/apache/arrow/pull/12528#issuecomment-1060970932


   Taken more abstractly, the contract is the following:
   * `round` returns the possible output that is closest to the input timestamp
   * `floor` returns the possible output that is closest to but not after the 
input timestamp
   * `ceil` returns the possible output that is closest to but not before the 
input timestamp
   
   So it should be possible to implement the expected semantics without 
exposing any additional options to the user, possibly by examining the two 
`earliest` and `latest` values and choosing the best 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to