Issue in post_data that will blows away other DDMSDatasets entries
We properly handle only updating a single entry in the array if the parquet already exists, but if it doesn't then we blow away the contents of the DDMSDatasets[] array when it could potentially have links to other datasets.
In /app/api/routes/data/api.py
ddms_urn = generate_dataset_urn(
ddms_id=settings.ddms_id,
api_version=api_version,
entity_type=f"{entity_type}data",
wpc_id=record_id,
dataset_id=dataset_record_id,
)
record_data["DDMSDatasets"] = [ddms_urn]