You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Weijie Tong (Jira)" <ji...@apache.org> on 2022/01/13 09:10:00 UTC

[jira] [Created] (ARROW-15319) array supply mutable interface to allow the user to do in place update

Weijie Tong created ARROW-15319:
-----------------------------------

             Summary: array supply mutable interface to allow the user to do in place update 
                 Key: ARROW-15319
                 URL: https://issues.apache.org/jira/browse/ARROW-15319
             Project: Apache Arrow
          Issue Type: Wish
          Components: C++
            Reporter: Weijie Tong


Now ,arrow's c++ Array interface does not allow user to do in place update, it's a read only interface. If we want to update an existing array ,we need to re-create one by ArrayBuilder.
But some cases like we want to do sort an arrow array or do additional filter to an exsiting filter(i.e. a BooleanArray), we could do a in place update to save the additional allocating, ( for example ,we supply a mutable_raw_values() interface to NumericArray).

So want to know the community advice about the possible to add such mutable interace to the Array interface.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)