Skip to content

Geometry predicates should be able to prune on their own #236

Description

@Mmoncadaisla

Today a geometry-only predicate (ST_Within(geom, ...)) scans and encodes every chunk: engines do not push ST_* function predicates into the pyarrow scan, so nothing reaches the chunk pruner. The documented idiom is pairing the predicate with xql.bbox_conjuncts(...).

It would be nice if geometry predicates pruned without the manual pairing. Rough directions per path:

Raised in #227 (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