9prady9 commented on a change in pull request #11694: URL: https://github.com/apache/arrow/pull/11694#discussion_r755145583
########## File path: cpp/src/arrow/array/builder_binary.h ########## @@ -372,6 +372,8 @@ class BaseBinaryBuilder : public ArrayBuilder { return util::string_view(reinterpret_cast<const char*>(value_data), value_length); } + util::string_view operator[](int64_t i) const { return GetView(i); } Review comment: Okay, I thought so too after realising builder purpose. However, I wanted to confirm if that is the case. -- 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