dinimar commented on issue #34382:
URL: https://github.com/apache/arrow/issues/34382#issuecomment-1473942726

   @felipecrv 
   As I found out in code there're `add_kernel()` function calls related to 
types you mentioned
   
https://github.com/apache/arrow/blob/f9324b79bf4fc1ec7e97b32e3cce16e75ef0f5e3/cpp/src/arrow/compute/kernels/vector_run_end_encode.cc#L607-L612
   
https://github.com/apache/arrow/blob/f9324b79bf4fc1ec7e97b32e3cce16e75ef0f5e3/cpp/src/arrow/compute/kernels/vector_run_end_encode.cc#L631-L636
   
   But simple adding `add_kernel()` function calls doesn't work. Tests start 
failing after that. Could you please explain how to add types for 
`run_end_encode` and `run_end_decode` properly?
   
   About types. As I see, in theory, it's possible to add all types using 
`add_kernel` (at least, it's easy for functions with empty arguments) listed in:
   
https://github.com/apache/arrow/blob/f9324b79bf4fc1ec7e97b32e3cce16e75ef0f5e3/cpp/src/arrow/type_fwd.h#L456-L590
   


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