rok commented on PR #14106:
URL: https://github.com/apache/arrow/pull/14106#issuecomment-1245412675

   @milesgranger My guess is you will want to instantiate an `ExtensionArray` 
from a 'regular' `Array` by passing the underlaying buffers, kind of like what 
[CastFromExtension](https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/kernels/scalar_cast_internal.cc#L152-L163)
 does and then add c++ test like [this 
one](https://github.com/apache/arrow/blob/6cc37cf2d1ba72c46b64fbc7ac499bd0d7296d20/cpp/src/arrow/compute/kernels/scalar_cast_test.cc#L2731-L2766).
 


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