Skip to content
This repository was archived by the owner on Jun 12, 2023. It is now read-only.
This repository was archived by the owner on Jun 12, 2023. It is now read-only.

With small tile extents on sparse arrays, tile_array_read() aborts, throwing "Assertion Failed: (non_empty > 0)"  #64

@Areustle

Description

@Areustle

I have a sparse dataset of float dimensions. When I populate a TileDB sparse array with small tile extents I get the following error:

Assertion failed: (non_empty > 0), function sort_fragment_cell_ranges, file /Users/areustle/asr/src/TileDB/core/src/array/array_read_state.cc, line 2158.

Small is a relative an imprecise term. From the context of my problem and a quick look at the source code it seems that my array places no data-points in one or more of the Tiles, resulting in an empty tile and a failure of the assertion. If I grow my Tile extents to encompass the entire domain I avoid this problem but of course this is not ideal for performance.

I have a branch of my own project that reproduces the error here https://github.com/Areustle/fits2tile/tree/small_tile_extent . Currently it depends on cfitsio, which is linked in the readme. If you need me to I can rework the problem to avoid the dependency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions