Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-41652: Add all intra-DP0.2 single-attribute foreign keys #162

Merged
merged 2 commits into from
Nov 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions yml/dp02_dc2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8334,6 +8334,15 @@
mysql:datatype: FLOAT
description: 1-sigma uncertainty on y position
fits:tunit: pixel
constraints:
- name: DiaO_DiaS
"@type": "ForeignKey"
"@id": "#FK_DiaSource_diaObjectId_DiaObject_diaObjectId"
description: Link DiaObjects to associated DiaSources
columns:
- "#DiaSource.diaObjectId"
referencedColumns:
- "#DiaObject.diaObjectId"
- name: ForcedSourceOnDiaObject
"@id": "#ForcedSourceOnDiaObject"
description: "Point-source forced-photometry measurements on individual single-epoch
Expand Down Expand Up @@ -8970,6 +8979,15 @@
mysql:datatype: DOUBLE
fits:tunit: deg
ivoa:ucd: pos.eq.dec
constraints:
- name: Visit_CcdV
"@type": "ForeignKey"
"@id": "#FK_CcdVisit_visitId_Visit_visitId"
description: Link Visits to the CcdVisits they contain
columns:
- "#CcdVisit.visitId"
referencedColumns:
- "#Visit.visit"
- name: CoaddPatches
"@id": "#coaddpatches"
description: "Static information about the subset of tracts and patches from the standard
Expand Down Expand Up @@ -9031,7 +9049,7 @@
description: Match information for TruthSummary objects.
tap:table_index: 11
columns:
# Index refers to the the position in a per-tract parquet file, and has no use in SQL.

Check warning on line 9052 in yml/dp02_dc2.yaml

View workflow job for this annotation

GitHub Actions / call-workflow / yamllint

9052:1 [comments-indentation] comment not indented like content
# - name: index
# '@id': '#MatchesTruth.index'
# datatype: long
Expand All @@ -9042,7 +9060,7 @@
datatype: boolean
mysql:datatype: BOOLEAN
description: True for sources that were selected for matching
# match_row refers to the the position in a per-tract Object parquet file.

Check warning on line 9063 in yml/dp02_dc2.yaml

View workflow job for this annotation

GitHub Actions / call-workflow / yamllint

9063:1 [comments-indentation] comment not indented like content
# - name: match_row
# '@id': '#MatchesTruth.match_row'
# datatype: long
Expand Down
Loading