Hi, It seems like Java SDK doesn't have support fo...
# troubleshoot
a
Hi, It seems like Java SDK doesn't have support for Patch functionality. We are using MetadataChangeProposalWrapper.builder() to create Dataset entitities. The builder class does have upsert() method but not patch even though ChangeType enum supports Patch. I tried with latest version 0.9.3-1rc1. Is this issue already known or are there plans to support this ? Thanks
o
Hi! Patch semantics uses a bit more complicated generation logic than the base wrapper class so to make it easier we have provided custom patch builders for the aspects that currently support patching. Please see PatchTest.java for examples. If you're interested in how the logic is working you can look at AbstractPatchBuilder and its subtypes for how we're generating the underlying proposal 🙂
Hey Mahesh, just wanted to make sure this was clear that we do support constructing patches using the Java SDK, it just uses a little bit different construction. Hopefully you were able to use it successfully!
a
Hi @orange-night-91387, Big Thanks for the explanation. I will try the approach used in PatchTest.java and come back if I get stuck somewhere but for the moment it looks good to me. Thanks again :)