Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ctrl_mpexec, daf_butler, pipe_base
-
Labels:
-
Story Points:6
-
Epic Link:
-
Sprint:DB_S22_12
-
Team:Data Access and Database
-
Urgent?:No
Description
DM-32072 adds an in-memory attribute that can be used to store opaque table records for datastores in Quantum objects, as well as a QuantumBackedButler that can use these. But we also need to extract the records for overall inputs from the origin data repository at the end of QG (via the new export_records method on Datastore), and update the QG on-disk data structure to include them. This should be an option that is disabled by default, until have tested its role in a complete replacement for execution butler.
Jim Bosch, I think this is ready for review. There is one thing that I do not particularly like (for some time already) is the FakeDatasetRef, in this case it creates dependency cycles and I had to add a workaround for it (import inside method). Would it be better to move that class to core, or maybe even make it a base class of DatasetRef? (but I probably miss some perspective on why this class was made separate in the first place). Also pydatic causes some grief, but I think this is common.