Skip to content

minimum version of pyarrow (> 12.0) #3577

@ianna

Description

@ianna

We need to find which version of pyarrow works with these tests.

Oh, after merging the main into this one I get more failures in pyarrow tests:

tests/test_2616_use_pyarrow_for_strings.py::test_trim_whitespace PASSED  [ 63%]
Error: test_slice

pyarrow.lib.ArrowInvalid: Negative buffer resize: -40

This error occurred while calling

    ak.str.slice(
        <Array [['αβγ', ''], ..., ['→δε←', ..., 'abc']] type='3 * var * string'>
        1
    )
tests/test_2616_use_pyarrow_for_strings.py::test_slice FAILED            [ 63%]
Error: test_split_whitespace

ValueError: buffer size must be a multiple of element size

This error occurred while calling

    ak.str.split_whitespace(
        <Array-typetracer [...] type='3 * var * string'>
        max_splits = 1
    )
tests/test_2616_use_pyarrow_for_strings.py::test_split_whitespace FAILED [ 63%]
Error: test_split_pattern

ValueError: buffer size must be a multiple of element size

This error occurred while calling

    ak.str.split_pattern(
        <Array-typetracer [...] type='3 * var * string'>
        '123'
        max_splits = 1
    )
tests/test_2616_use_pyarrow_for_strings.py::test_split_pattern FAILED    [ 63%]
Error: test_split_pattern_regex

ValueError: buffer size must be a multiple of element size

This error occurred while calling

    ak.str.split_pattern_regex(
        <Array-typetracer [...] type='3 * var * string'>
        '\\d{3}'
        max_splits = 1
    )
tests/test_2616_use_pyarrow_for_strings.py::test_split_pattern_regex FAILED [ 63%]

Originally posted by @ianna in #3569 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions