Skip to content

get_item with lazy expressions containing reductions fails to index properly #397

@lshaw8317

Description

@lshaw8317

The code below

a = blosc2.linspace(0, 10, num=100, shape=(10, 10))
le = blosc2.lazyexpr("sum(a, axis=0)", {'a': a})
print(le[3])

returns the whole array, not just the fourth element. This seems to occur with any reduction.

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