Today assign_nested_cm_ids does:
*max_id += 1;
nested_ids.insert(element_path.clone(), serde_json::Value::from(*max_id));
If max_id is already at the max int value, we will overflow. next_column_mapping_id exists exactly to solve this problem, we should use that instead of doing the +=1.
Today
assign_nested_cm_idsdoes:If max_id is already at the max int value, we will overflow.
next_column_mapping_idexists exactly to solve this problem, we should use that instead of doing the +=1.