The tool that copies metrics from multiple batches into a new batch is not performing the actual step that copies the actual metric values. This tool performs three steps:
Create the new batch
Copy all instances from each of the existing batches into the new batch
Copy all the metric values from each of the existing batches into the new batch
The final step is written and present in the code but the SQL statements are written as SELECT statements instead of `INSERT INTO. I suspect that this was written this way during development and debugging so that I could review the data that was going to get copied without actually making any permanent data changes to the underlying database. I then forgot to finish each SQL statement by converting them into insert statements.
The tool that copies metrics from multiple batches into a new batch is not performing the actual step that copies the actual metric values. This tool performs three steps:
The final step is written and present in the code but the SQL statements are written as
SELECT
statements instead of `INSERT INTO. I suspect that this was written this way during development and debugging so that I could review the data that was going to get copied without actually making any permanent data changes to the underlying database. I then forgot to finish each SQL statement by converting them into insert statements.