rok commented on a change in pull request #10647:
URL: https://github.com/apache/arrow/pull/10647#discussion_r678359188
##########
File path: cpp/src/arrow/compute/api_scalar.h
##########
@@ -178,6 +179,19 @@ class ARROW_EXPORT StrptimeOptions : public
FunctionOptions {
TimeUnit::type unit;
};
+class ARROW_EXPORT StrftimeOptions : public FunctionOptions {
+ public:
+ explicit StrftimeOptions(std::string format, std::string locale);
+ explicit StrftimeOptions(std::string format);
+ StrftimeOptions();
+ constexpr static char const kTypeName[] = "StrftimeOptions";
+
+ /// The desired format string.
+ std::string format;
+ /// The desired output locale.
+ std::locale loc;
Review comment:
Done.
--
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]