pitrou opened a new pull request, #40295:
URL: https://github.com/apache/arrow/pull/40295

   ### Rationale for this change
   
   `Array.to_numpy` calls `np.take` to linearize dictionary arrays. This fails 
on 32-bit Numpy builds because we give Numpy 64-bit indices and Numpy would 
like to downcast them.
   
   ### What changes are included in this PR?
   
   Avoid calling `np.take`, instead using our own dictionary decoding routine.
   
   ### Are these changes tested?
   
   Yes. A test failure is fixed on 32-bit.
   
   ### Are there any user-facing changes?
   
   No.


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