izveigor commented on issue #4506:
URL: https://github.com/apache/arrow-rs/issues/4506#issuecomment-1632812987

   Hello, @tustvold!
   
   > I'm not really sure of the utility of adding builder methods, it seems to 
just add code?
   
   I can't quite call it adding code.
   The thing is that with further implementations of array functions in Arrow 
DataFusion, several methods may be required, in particular, transfer from 
`Array` to `Builder`.
   
   Here is a list of possible methods:
   - `builder` (not sure);
   - `into_builder`;
   - all possible `append_` functions;
   - `from_value`;
   
   And also a list of possible arrays in which these methods should be 
implemented:
   - `BooleanArray`;
   - `FixedSizeList`;
   - `GenericListArray`;
   - `GenericByteArray`;
   - `FixedSizeBinary`;
   - `PrimitiveArray`;
   - `StructArray`;
   - `NullArray` (it is a special case);
   
   Probably, I incorrectly set the goals of the issue and hastened to 
generalize. If needed, I can create a separate issue with a clearer wording.
   P.S. I can't know for sure if all of these methods can come in handy.
   


-- 
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]

Reply via email to