fn write_by_schema( table_data: &mut TableData, kv_iter: impl Iterator<Item = (ColumnSchema, ValueData)>, one_row: &mut Vec<Value>, ) -> Result<()>