Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: daf_butler
-
Labels:
-
Story Points:1
-
Epic Link:
-
Sprint:BG3_S18_05
-
Team:Data Release Production
Description
Dataset's foreign keys to DataUnit have been commented-out in the schema file.
Uncomment them and get things working (actually, we'll need to update their representation in the schema in order to make them compound keys).
I've already started this in trying to get the schema on DM-12620 synced with master, and I think I'm pretty close, but it makes sense to split this off from that ticket.
Re-enables foreign keys from Dataset to DataUnit tables, and adds DataUnit insertion to test code that broke as a result.
This also revealed some problems in the ci_hsc Gen2->Gen3 conversion, which are fixed in PRs on obs_subaru and ci_hsc.