danepitkin commented on issue #37669:
URL: https://github.com/apache/arrow/issues/37669#issuecomment-1899121325

   I did some debugging on this issue. There is a DCHECK failing where an 
`ArraySpan` is expected:
   
   
https://github.com/apache/arrow/blob/858574d0bd1f3ef4157d0446cfb05cef05aac96b/cpp/src/arrow/compute/exec.cc#L893
   
   .. but we are instead returning a `shared_ptr::<ArrayData>`:
   
   
https://github.com/apache/arrow/blob/858574d0bd1f3ef4157d0446cfb05cef05aac96b/cpp/src/arrow/compute/kernels/scalar_cast_extension.cc#L52
   
   Other scalar casts all seem to be returning `ArraySpan` so my guess is 
Extensions types should return `ArraySpan`, too. Although I'm not quite sure 
yet why this is required.
   


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