Consider adding way to control table insert order
@dr-rodriguez ci sta già lavorando.
Dal 13/2/2025.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Currently, the JSON file for a source is written with the primary table first and then the rest of the tables as fetched from self.metadata.tables. This appears to be sorted alphabetically.
In circumstances where object tables refer to each other, such as a CompanionRelationship table that contains entries that a CompanionParameters table points to, this causes an error as the "R" is after "P" in the table. That is, a foreign key error will occur because the CompanionRelationship table is not loaded before CompanionParameters.
This DB generally assumes that object tables will point back to either the primary table or lookup tables, not to each other. If we want to support this we may need to provide a list of the order to use.
- Lingua principale
- Python
- Stelle
- 12
- Fork
- 5
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
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 astrodbtoolkit/AstrodbKit
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
astrodbtoolkit/AstrodbKit#110 ·
-
Nulls and load_table Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
astrodbtoolkit/AstrodbKit#109 ·
-
astrodbtoolkit/AstrodbKit#105 · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
astrodbtoolkit/AstrodbKit#104 ·
-
bug
astrodbtoolkit/AstrodbKit#103 · 1 assegnatario ·
Tutte le issue di astrodbtoolkit/AstrodbKit
Issue simili
-
area: harness bug status: needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Human-Agent-Society/reef#625 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
learningequality/kolibri#15351 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Name consistency Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
eellak/triplestore#65 · 1 commento ·