Consider adding way to control table insert order
@dr-rodriguez 已经在做这个了。
开始于 2025年2月13日。
评估
这个 Issue 还没有评估数据。
描述
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.
- 主要语言
- Python
- 星标
- 12
- 派生
- 5
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
astrodbtoolkit/AstrodbKit 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
astrodbtoolkit/AstrodbKit#110 ·
-
难度 4/5 3-5 天 新手友好度 35/100
astrodbtoolkit/AstrodbKit#109 ·
-
Remove `wcs1d_multispec` reader.可能重新可做 @dr-rodriguez 于 320 天前认领,目前没有进行中的 PR。 未关闭
astrodbtoolkit/AstrodbKit#105 · 已指派 1 人 ·
-
难度 4/5 3-5 天 新手友好度 35/100
astrodbtoolkit/AstrodbKit#104 ·
-
Check if conn.commit() is required可能重新可做 @dr-rodriguez 于 432 天前认领,目前没有进行中的 PR。 未关闭bug
astrodbtoolkit/AstrodbKit#103 · 已指派 1 人 ·
查看 astrodbtoolkit/AstrodbKit 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
PedestrianDynamics/pyFDS-Evac#199 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
521xueweihan/HelloGitHub#3790 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
sandialabs/atlas-ui-3#978 ·
维护者通常 1 天内回复
-
area: tests perceived difficulty: 2
难度 2/5 1-3 小时 新手友好度 72/100
Nitjsefnie-Harness-Commons/daedalus#1255 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
EleutherAI/lm-evaluation-harness#4256 ·
维护者通常 1 天内回复