edponce edited a comment on pull request #11023:
URL: https://github.com/apache/arrow/pull/11023#issuecomment-907569782


   Related to a replicate operation, there was a [previous discussion in Zulip 
chat](https://ursalabs.zulipchat.com/#narrow/stream/271283-help.2Fc.2B.2B/topic/util.20to.20copy.20arrays.20to.20an.20existing.20buffer)
 of having a general replicate functionality where string repeat is a 
particular case.
   
   Arrow already has 
[`MakeArrayFromScalar`](https://github.com/apache/arrow/blob/master/cpp/src/arrow/array/util.cc#L742)
 and 
[`RepeatedArrayFactory`](https://github.com/apache/arrow/blob/master/cpp/src/arrow/array/util.cc#L493)
 which use [concatenate 
implementation](https://github.com/apache/arrow/blob/master/cpp/src/arrow/array/concatenate.cc)
 internally. Can this be used in this PR? These are specifically for Array 
types and in kernel transform method uses raw pointers.


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