Skip to content

[pyarrow] maybe a bug in error message #47369

Closed

Description

@qsourav

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

Hi,

Thank you for the great work. I just found a potential issue in the existing pyarrow code base.
https://github.com/apache/arrow/blob/main/python/pyarrow/parquet/core.py#L184

The error message is a little strange.

ValueError: "a" is not a valid operator in predicates.

Should it be as follows instead?

raise ValueError(f'"{op}" is not a valid operator in predicates.')

Thanks and Regards,
Sourav Saha

Component(s)

Python

Activity

  1. AlenkaF commented on Aug 27, 2026

    @AlenkaF
    Member

    @advitrocks9 can you comment on this issue so I can assign it to you?

  2. advitrocks9 commented on Aug 29, 2026

    @advitrocks9
    Contributor

    @AlenkaF bumping this issue

  3. added a commit that references this issue on Aug 30, 2026
  4. added this to the 26.0.0 milestone on Aug 30, 2026
  5. AlenkaF commented on Aug 30, 2026

    @AlenkaF
    Member

    Issue resolved by pull request 51004
    #51004

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions