one PREPARE statement per dataflow-to-table call (so works for array of output_ids with identical structure)