You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/08 13:16:11 UTC

[GitHub] [arrow] lidavidm commented on pull request #12579: ARROW-15829: [C++] Support SetNull in NumericalBuilder

lidavidm commented on pull request #12579:
URL: https://github.com/apache/arrow/pull/12579#issuecomment-1061765269


   Isn't `T& operator[](int64_t)` exactly the operator to overload to enable assignment? e.g. [cppreference states](https://en.cppreference.com/w/cpp/language/operators#Array_subscript_operator) "User-defined classes that provide array-like access that allows both reading and writing typically define two overloads for operator[]: const and non-const variants"
   
   So then it would make sense IMO to allow updating the null bitmap in addition to the values


-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org