Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Geometry predicates should be able to prune on their own

Aberta
#236 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Pouca atividade
Stack de tecnologia
python
Domínio
data, databases

Direção de pesquisa

Start with the documented xql.bbox_conjuncts(...) idiom and the pyarrow scan path where chunks are pruned and encoded, then read the linked discussion in PR 227 for the per-engine directions. The issue lists no concrete files, so the first step is to find where geometry predicates are lost before reaching the chunk pruner. Done means a geometry-only ST_Within query skips non-overlapping chunks without the manual bbox pairing.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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 https://github.com/xqlsystems/xarray-sql/pull/227#discussion_r3592896636

Linguagem predominante
Python
Estrelas
142
Forks
19
Merge médio
1d 9h
PRs com merge (30d)
9

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de xqlsystems/xarray-sql

Todas as issues de xqlsystems/xarray-sql

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.