小明,tagId1,tagId2
转为
小明 tagId1
小明 tagId2
INSERT INTO result_tableSELECT name, tagFROM source_tableCROSS JOIN UNNEST(SPLIT(tags, ',')) AS t(tag);