bkietz commented on code in PR #14659:
URL: https://github.com/apache/arrow/pull/14659#discussion_r1025864740
##########
cpp/src/arrow/datum.h:
##########
@@ -116,6 +117,27 @@ struct ARROW_EXPORT Datum {
explicit Datum(std::string value);
explicit Datum(const char* value);
+ // Convenience constructors for a DurationScalar from
std::chrono::nanoseconds
Review Comment:
Datum already has many convenience constructors, so it seemed like a logical
place. Moreover it enabled my immediate use case of `literal(5min)`. I can also
add it to DurationScalar if you like
--
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]