rok commented on a change in pull request #11818: URL: https://github.com/apache/arrow/pull/11818#discussion_r759652138
########## File path: cpp/src/arrow/compute/api_scalar.h ########## @@ -108,6 +108,32 @@ class ARROW_EXPORT RoundToMultipleOptions : public FunctionOptions { RoundMode round_mode; }; +class ARROW_EXPORT RoundTemporalOptions : public FunctionOptions { + public: + enum Ambiguous { AMBIGUOUS_RAISE, AMBIGUOUS_EARLIEST, AMBIGUOUS_LATEST }; + enum Nonexistent { NONEXISTENT_RAISE, NONEXISTENT_EARLIEST, NONEXISTENT_LATEST }; + + explicit RoundTemporalOptions(std::string frequency = "day", Review comment: Too soon David :) -- 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