WillAyd commented on PR #45272:
URL: https://github.com/apache/arrow/pull/45272#issuecomment-2619201417

   The current (rather slow) implementation just does an elementwise compare, 
dispatching to the logical list scalar type. Therefore, since:
   
   ```python
   >>> l1 = pa.scalar([], type=pa.list_(pa.int32()))
   >>> l2 = pa.scalar([], type=pa.list_(pa.int32()))
   >>> l1 == l2
   True
   ```
   
   Wrapping that in an array does not change the behavior:
   
   ```python
   >>> arr1 = pa.array([l1])
   >>> arr2 = pa.array([l2])
   >>> pc.equal(arr1, arr2)
   <pyarrow.lib.BooleanArray object at 0x71e8e9232560>
   [
     true
   ]
   ```


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