Skip to content

[pyarrow] maybe a bug in error message #47369

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

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