Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Some pyarrow assertions are broken in unit tests #193

@plamut

Description

@plamut

A recent pyarrow release appears to have broken a few unit tests that compare the Arrow column values as follows:

assert list(col) == [1, 2, 3]

Such conversion results in a list containing pyarrow scalars, causing the assertion to fail. Columns should thus be converted to Python lists with a dedicated method:

col.to_pylist()

Metadata

Metadata

Assignees

Labels

priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.testingtype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions