Master-part spec: state the dimension rule and link the diagram's grouping
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Documentación
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- documentation
Línea de trabajo
Start with reference/specs/master-part.md, reading §1 (Definition) and §3.3 (Computed Tables with Parts), and with explanation/entity-integrity.md for the dimension rule from #276. Add the "Parts carry new dimensions" subsection with the zero-items case, the two part-key patterns (new attribute versus one row per row of another table), and a link to the explanation. Done when the subsection covers all four points and the "In diagrams" note links to the diagram spec's master-part grouping, which depends on #298.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
reference/specs/master-part.md specifies definition, integrity, insertion and deletion, but it says nothing about two things the rest of the documentation relies on:
- The dimension rule. An auto-populated master introduces new dimensions only through its parts.
explanation/entity-integrity.mdstates it ("Autopopulated tables introduce dimensions only through part tables", from #276): aComputedorImportedtable's primary key comes entirely from its dependencies, and when onemake()call produces several results that each need an identifier, that identifier goes in a part table. The spec's §3.3 "Computed Tables with Parts" shows the pattern but never says why it is required. It also doesn't say what goes wrong without it: a computation that yields zero items leaves no row, so the key is recomputed on everypopulate(). The master row is what records that the computation ran. - How a master-part group is drawn.
dj.Diagramencloses a master and its parts in an unlabeled shaded group and names parts without the master prefix inside it. A reader of this spec should be able to find that, or a link to it, from here.
Proposed changes
- In §1 (Definition) or §3.3, a short subsection, "Parts carry new dimensions". It covers:
- the rule;
- the zero-items case;
- when a part's key adds an attribute (a new dimension: underlined, thin edge from the master) and when it doesn't (one row per row of another table: a thick edge from that table, not underlined, like
Spectrumwith one row perScan); - a link to
explanation/entity-integrity.md.
- A one-paragraph "In diagrams" note linking to the diagram spec's master-part grouping (#298).
Related: #276 (the dimension rule in the explanation), #222 (master-part spec: depending on the master implies its parts).
- Lenguaje dominante
- Jupyter Notebook
- Estrellas
- 7
- Forks
- 12
- Merge medio
- 2 d 19 h
- PR fusionados (30 d)
- 20
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
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 datajoint/datajoint-docs
-
documentation
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
datajoint/datajoint-docs#301 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 3/5 Medio día Aptitud para principiantes 55/100
datajoint/datajoint-docs#300 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
datajoint/datajoint-docs#298 ·
Los mantenedores suelen responder en 3 días
-
documentation
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
datajoint/datajoint-docs#292 ·
Los mantenedores suelen responder en 3 días
Todos los issues de datajoint/datajoint-docs
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 71/100
t4t5/omdrop-owl#14 ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
githubnext/gh-aw-workshop#4458 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
wso2/docs-api-platform#529 ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
facioquo/stock-indicators-dotnet#2316 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 76/100
SteamGridDB/SGDBoop#147 ·