bkietz commented on code in PR #39067:
URL: https://github.com/apache/arrow/pull/39067#discussion_r1506727494
##########
cpp/src/arrow/util/uri.cc:
##########
@@ -218,6 +215,9 @@ std::string Uri::path() const {
std::string Uri::query_string() const { return
TextRangeToString(impl_->uri_.query); }
Result<std::vector<std::pair<std::string, std::string>>> Uri::query_items()
const {
+ // XXX would it be worthwhile to fold this parsing into Uri::parse() or maybe
+ // cache these lazily in an unordered_map? Then we could provide
+ // Uri::query_item(std::string name)
Review Comment:
I'll leave it for a follow up https://github.com/apache/arrow/issues/40283
--
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]