Skip to content

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

Closed

Description

@jorisvandenbossche

Describe the bug, including details regarding any error messages, version, and platform.

We are not correctly verifying the other, so get a segfault:

In [9]: part = ds.partitioning(pa.schema([("part", "string")]), flavor="hive")

In [10]: part == "hive"
Segmentation fault (core dumped)

Component(s)

Python

Activity

  1. added this to the 13.0.0 milestone on Jul 13, 2023
  2. added a commit that references this issue on Jul 13, 2023
  3. added a commit that references this issue on Jul 13, 2023
  4. added a commit that references this issue on Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions