Skip to content

Implement filter creation #41

@maximedion2

Description

@maximedion2

As of now, the filter push down logic is implemented in the zarr stream, however creating a filter from a physical expression (e.g. WHERE a > 2 AND b <5) is not yet implemented. Basically we need to implement this method, https://github.com/datafusion-contrib/arrow-zarr/blob/zarrs_refactor/src/zarr_store_opener/filter.rs#L58.

Now I remember datafusion had some helpers for that, but they seemed to be a bit too complicated for the use case here, and for my first pass at this I had copied some code over (it was not public in datafusion) and re-implemented a simplified version in this repo. But that was a while ago, I need to check in the more recent datafusion version, and I need to reconsider using the helpers datafusion provides out of the box.

One this is implemented, we need to add test cases everywhere, should be pretty easy, we can use the same test data I've been creating on-the-fly in test cases, and add a lat/lon filter.

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