h2oai / datatable

A Python package for manipulating 2-dimensional tabular data structures

Home Page:https://datatable.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`dt.median()` is failing on macOS Ventura/ARM64

oleksiyskononenko opened this issue · comments

When datatable is built in the debug mode, one of the dt.median() tests triggers AssertionError:

    def test_median_nonvoid_per_void_group():
        DT = dt.Frame([[None, None, None, None, None], [1, 2, 1, 2, 2]])
>       DT_median = DT[:, median(f.C1), by(f.C0)]
E       AssertionError: Assertion 'x && xx && o && next_o' failed in src/core/sort.cc, line 1208

In the release mode it could even result in a segfault. This test doesn't fail on older macOS/Intel CPUs though.