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-41251: Add foreign key constraint from ForcedSource to Object #149

Merged
merged 2 commits into from
Oct 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions yml/dp02_dc2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7213,6 +7213,15 @@
ivoa:ucd: phot.flux
tap:principal: 1
tap:column_index: 30
constraints:
- name: Obj_FS
"@type": "ForeignKey"
"@id": "#FK_ForcedSource_objectId_Object_objectId"
description: Link Objects to associated ForcedSources
columns:
- "#ForcedSource.objectId"
referencedColumns:
- "#Object.objectId"
- name: DiaObject
"@id": "#DiaObject"
description: "Properties of time-varying astronomical objects based on association
Expand Down Expand Up @@ -9022,7 +9031,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 9034 in yml/dp02_dc2.yaml

View workflow job for this annotation

GitHub Actions / lint

9034:1 [comments-indentation] comment not indented like content
# - name: index
# '@id': '#MatchesTruth.index'
# datatype: long
Expand All @@ -9033,7 +9042,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 9045 in yml/dp02_dc2.yaml

View workflow job for this annotation

GitHub Actions / lint

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