Skip to content

[Python] Exceptions in ParquetWriter get ignored #24000

@asfimport

Description

@asfimport

For example:

In [43]: table = pa.table({'a': [1, 2, 3]}) 

In [44]: pq.write_table(table, "test.parquet", version="2.2")                                                                                                                                                      
---------------------------------------------------------------------------
ArrowException                            Traceback (most recent call last)
ArrowException: Unsupported Parquet format version
Exception ignored in: 'pyarrow._parquet.ParquetWriter._set_version'
pyarrow.lib.ArrowException: Unsupported Parquet format version

Reporter: Joris Van den Bossche / @jorisvandenbossche
Assignee: Joris Van den Bossche / @jorisvandenbossche

PRs and other links:

Note: This issue was originally created as ARROW-7762. Please see the migration documentation for further details.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions