How should empty collection values round-trip through text?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
Direzione di ricerca
Start with src/collection_io.c lines 94–112 and read the related discussions in #24 and #36 for context on the text format. Check how empty untyped and explicitly typed values are written and read, and how deleting the last entry affects value_type(). Done means tests preserve the agreed distinctions; the issue leaves the format decisions open.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Both key types can write {} for an empty value, but reading that output back fails. This matters for text COPY and restores of tables that contain empty collections. The existing tests also expect value_type() to return NULL after the last entry is deleted.
Would you accept {} for an untyped empty value and the existing type-and-entries envelope for an explicitly typed empty value? Should deleting the last entry clear the type as it does today? I’d like to preserve that distinction in tests before changing the format. Related discussions include #24 and #36. The nonempty integer-key case is tracked in #48.
- Lingua principale
- C
- Stelle
- 24
- Fork
- 6
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aws/pgcollection
-
The LLVM object can build before collection_config.h is generatedForse già presa @Vonng l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
aws/pgcollection#51 ·
-
Nonempty icollection values cannot be read back from text or restored from a dumpForse già presa @Vonng l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
aws/pgcollection#48 ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
aws/pgcollection#32 ·
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
aws/pgcollection#6 · 2 commenti ·
Tutte le issue di aws/pgcollection
Issue simili
-
issue: bug report
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
BasedHardware/omi#26486 ·
I maintainer di solito rispondono entro 1 giorno
-
area/docdb kind/failing-test priority/medium status/awaiting-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
yugabyte/yugabyte-db#39462 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
libreswan/libreswan#3185 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 3 giorni