You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jorisvandenbossche (via GitHub)" <gi...@apache.org> on 2023/12/12 10:39:54 UTC

Re: [I] [Python] pa.array doesn't check for byte-swapped list-arrays [arrow]

jorisvandenbossche commented on issue #39129:
URL: https://github.com/apache/arrow/issues/39129#issuecomment-1851778955

   @hombit thanks for the report! That indeed seems it should raise a similar error in the list case.
   
   For the primitive array path, we have this check at
   
   https://github.com/apache/arrow/blob/087fc8f5d31b377916711e98024048b76eae06e8/python/pyarrow/src/arrow/python/numpy_to_arrow.cc#L435-L439
   
   And so for the ListConverter, we will need something similar here:
   
   https://github.com/apache/arrow/blob/087fc8f5d31b377916711e98024048b76eae06e8/python/pyarrow/src/arrow/python/python_to_arrow.cc#L847-L852


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org