reduce columns to column_name and transform