# Investigate deletes in Gen3 ci_hsc conversion or processing

XMLWordPrintable

## Details

• Type: Story
• Status: Invalid
• Resolution: Done
• Fix Version/s: None
• Component/s:
• Labels:
• Story Points:
1
• Team:
Data Release Production

## Description

For each run there were a bunch of
DELETE FROM "PatchSkyPixJoin" WHERE "PatchSkyPixJoin".tract = :tract_1 AND "PatchSkyPixJoin".skymap = :skymap_1 AND "PatchSkyPixJoin".patch = :patch_1
statements which at first glance seem to be coming from the pipeline. If they are from the pipeline (instead of the gen3.py or other bootstrap codes), then we should talk sometime about why there is a delete.

These tables should be inserted into in gen2convert, but not deleted from.  They should not be modified at all during processing.  It's possible I'm just clearing subset of a table before inserting into it, which would mean in this case these DELETEs are no-ops because there are no matching record.  If that's the case, we might be able to ignore this.

## Activity

Hide
Jim Bosch added a comment -

Michelle Gower, this should have been fixed on DM-17023.  Could you please verify, and close this as Invalid if I'm right?

Show
Jim Bosch added a comment - Michelle Gower , this should have been fixed on DM-17023 .  Could you please verify, and close this as Invalid if I'm right?
Hide
Michelle Gower added a comment -

Christopher Stephens Can you check Oracle trace files from ci_hsc_gen3 runs (gen3_mgower_1) to see if there are still delete statements? Let me know if you need me to run again.

Show
Michelle Gower added a comment - Christopher Stephens Can you check Oracle trace files from ci_hsc_gen3 runs (gen3_mgower_1) to see if there are still delete statements? Let me know if you need me to run again.
Hide
Christopher Stephens added a comment -

Michelle Gower I grep'd through all ci_hsc_gen3 runs from Oct 7. There were no DELETEs in any of the tracefiles.

Show
Christopher Stephens added a comment - Michelle Gower I grep'd through all ci_hsc_gen3 runs from Oct 7. There were no DELETEs in any of the tracefiles.
Hide
Michelle Gower added a comment -

Looks like this was fixed when doing the work in DM-17023. Closing ticket.

Show
Michelle Gower added a comment - Looks like this was fixed when doing the work in DM-17023 . Closing ticket.

## People

• Assignee:
Jim Bosch
Reporter:
Jim Bosch
Watchers:
Christopher Stephens, Jim Bosch, Michelle Gower