lidavidm commented on code in PR #50407:
URL: https://github.com/apache/arrow/pull/50407#discussion_r4333701237
##########
cpp/src/arrow/flight/types.h:
##########
@@ -564,6 +564,16 @@ struct ARROW_FLIGHT_EXPORT Location : public
internal::BaseType<Location> {
/// Use `Deserialize(serialized)` if you want a Result-returning version.
static arrow::Status Deserialize(std::string_view serialized, Location* out);
+ /// \brief Get the URI representation of this location.
+ ///
+ /// \return Arrow result with the URI.
+ arrow::Result<arrow::util::Uri> uri() const;
Review Comment:
I do think this is valid.
--
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]