apache / apache/arrow

[Python] Change the behaviour of __eq__

Open
#48,409 14 comments 0 reactions 1 assignee Claimed by @rmnskb View on GitHub
Component: Python Type: enhancement
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the enhancement requested

As arithmetics will be supported in https://github.com/apache/arrow/pull/48085 we should also revisit `__eq__` implementation and change the behaviour of the current approach for the use of a kernel function ([`pyarrow.compute.equal`](https://arrow.apache.org/docs/python/generated/pyarrow.compute.equal.html)).

See:
- https://github.com/apache/arrow/issues/32007#issuecomment-1378102640
- https://github.com/apache/arrow/pull/48085#issuecomment-3520596167
- https://github.com/apache/arrow/pull/48085#issuecomment-3521454230

### Component(s)

Python

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.