Details
-
Type:
Story
-
Status: To Do
-
Resolution: Unresolved
-
Fix Version/s: None
-
Component/s: ap_association, sdm_schemas
-
Labels:
-
Story Points:2
-
Epic Link:
-
Team:Alert Production
-
Urgent?:No
Description
My refactoring of DM-35331 broke ci_imsim because a field changed from int->float (pandas can do that on a whim). This reminded me that we need a way to validate the schema output by the ap_association (particularly the transform tasks). I don't know if there is an easy way to do that validation/enforcement outside of creating an APDB. At minimum, a test inside ap_association would be a start, but some more generic validation/enforcement would be better.
Does DRP do schema validation on the output of their catalog transform tasks, and if so, how?
Attachments
Issue Links
- is triggered by
-
DM-35331 Add tests of sky source handling in transformDiaSourceCat
- Done
What does "more generic" mean? Are you proposing that the transform tasks check that their own output conforms to schema?