geometry / geography: Read improvements

Aperta
#4,079 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
data

Direzione di ricerca

Start by tracing geometry/geography type handling, especially pyarrow_to_schema, metric evaluators, and CLI JSON output; the issue does not name specific files or tests. Compare the listed gaps with existing type handling and add fixture-based tests, since Spark types are unavailable. Done means the listed parsing, schema, edge-algorithm, bounds, and JSON cases are covered.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

V3
Feature Request / Improvement

We've added rudimentary support for the geometry and geography types, but we've still got some work to do:

  • Parse the unquoted form, case-insensitively and with optional whitespace (this was a recent change to Java)
  • pyarrow_to_schema doesn't recognise geoarrow extension types or Parquet GEOMETRY/GEOGRAPHY, so these columns come back as plain binary
  • Only the spherical edge algorithm is mapped. vincenty/thomas/andoyer/karney fall back to planar:
  • Make sure the metrics evaluators don't read spec-encoded bounds (x, y[, z, m]) as WKB
  • CLI JSON output breaks on geo defaults:
  • Testing with fixtures (since no Spark types)
Lingua principale
Python
Stelle
1.2k
Fork
654
Merge medio
2g 11h
PR unite (30g)
122

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/iceberg-python

Tutte le issue di apache/iceberg-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.