This probably relates to the previous post. Is the...
# ingestion
c
This probably relates to the previous post. Is there a way to update a value for just one custom property without overriding the entire aspect (DatasetProperties)?
Copy code
curl --location --request POST '<http://localhost:8080/datasets?action=ingest>' \
--header 'X-RestLi-Protocol-Version: 2.0.0' \
--header 'Content-Type: application/json' \
--data-raw '{
  "snapshot": {
    "aspects": [     
      {
        "com.linkedin.dataset.DatasetProperties":  {
            "customProperties": {                
                "ValidThroughDate": "2021-03-15T11:40:49Z"
            }
        }
      }     
    ],
    "urn": "urn:li:dataset:(urn:li:dataPlatform:foo,bar,PROD)"
  }
}'
If I send this request, it will remove all existing custom properties, unless I stuff them in the same request.
m
Yup, this is the same question as above, currently there isn't a way to do this from the client without doing a read -> modify -> write.