Inserts rows in a pattern. column_indices has a total length of 3 * num_indices, where each index is a triple of group, track and column.