Skip to content

GH-36659: [Python] Fix pyarrow.dataset.Partitioning.__eq__ when comparing with other type - #36661

Merged
jorisvandenbossche merged 1 commit into
apache:mainfrom
jorisvandenbossche:gh-36659-partitioning-eq
Jul 13, 2023
Merged

jorisvandenbossche merged 1 commit into
apache:mainfrom
jorisvandenbossche:gh-36659-partitioning-eq

Conversation

@jorisvandenbossche

@jorisvandenbossche jorisvandenbossche commented Jul 13, 2023 •

Copy link
Copy Markdown
Member

Rationale for this change

Ensure that part == other doesn't crash with other is not a Partitioning instance

Small follow-up on #36462

@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #36659 has been automatically assigned in GitHub to PR creator.

@jorisvandenbossche

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit dask

@github-actions

Copy link
Copy Markdown

Revision: 492ba09

Submitted crossbow builds: ursacomputing/crossbow @ actions-fc21bc16e4

Task Status
test-conda-python-3.11-dask-latest Github Actions
test-conda-python-3.11-dask-upstream_devel Github Actions

@raulcd

raulcd commented Jul 13, 2023

Copy link
Copy Markdown
Member

The failures seems related to not having rebased after: 3bdbd0d

@jorisvandenbossche

Copy link
Copy Markdown
Member Author

Indeed, so the actual segfault is fixed by this PR, so that looks good.

Comment thread python/pyarrow/tests/test_dataset.py Resolved
@jorisvandenbossche
jorisvandenbossche merged commit 994c73b into apache:main Jul 13, 2023
@jorisvandenbossche
jorisvandenbossche deleted the gh-36659-partitioning-eq branch July 13, 2023 13:29
raulcd pushed a commit that referenced this pull request Jul 13, 2023
…ring with other type (#36661)

### Rationale for this change

Ensure that `part == other` doesn't crash with `other` is not a Partitioning instance

Small follow-up on #36462

* Closes: #36659

Authored-by: Joris Van den Bossche <[email protected]>
Signed-off-by: Joris Van den Bossche <[email protected]>
@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit 994c73b.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about possible false positives for unstable benchmarks that are known to sometimes produce them.

@anjakefala anjakefala added the Critical Fix Bugfixes for security vulnerabilities, crashes, or invalid data. label Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Python Critical Fix Bugfixes for security vulnerabilities, crashes, or invalid data.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Python] pyarrow.dataset.Partitioning.__eq__ crashes when comparing with other type

3 participants