Consider adding way to control table insert order
@dr-rodriguez ya está trabajando en esto.
Desde el 13/2/2025.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 12
- Forks
- 5
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de astrodbtoolkit/AstrodbKit
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
astrodbtoolkit/AstrodbKit#110 ·
-
Nulls and load_table Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
astrodbtoolkit/AstrodbKit#109 ·
-
Remove `wcs1d_multispec` reader. Abierto
astrodbtoolkit/AstrodbKit#105 · 1 asignado ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
astrodbtoolkit/AstrodbKit#104 ·
-
bug
astrodbtoolkit/AstrodbKit#103 · 1 asignado ·
Todos los issues de astrodbtoolkit/AstrodbKit
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
stephrobert/dsoxlab#238 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
sublimehq/package_control#1780 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
nwg-piotr/nwg-displays#145 ·