pitrou commented on a change in pull request #11694: URL: https://github.com/apache/arrow/pull/11694#discussion_r754315627
########## File path: cpp/src/arrow/array/array_primitive.h ########## @@ -141,6 +147,8 @@ class ARROW_EXPORT DayTimeIntervalArray : public PrimitiveArray { // For compatibility with Take kernel. TypeClass::DayMilliseconds GetView(int64_t i) const { return GetValue(i); } + TypeClass::DayMilliseconds operator[](int64_t i) const { return Value(i); } Review comment: Did you forget to update these ones as well? -- 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