Hi Everyone, I want to use java to add a new datas...
# ingestion
c
Hi Everyone, I want to use java to add a new dataset (mysql table), I found the following code but can't find how to add a table field,does anyone know how to add a table field? MetadataChangeProposalWrapper mcpw = MetadataChangeProposalWrapper.builder() .entityType("dataset") .entityUrn("urnlidataset:(urnlidataPlatform:mysql,test.test5,PROD)") .upsert() .aspect(new DatasetProperties().setDescription("test").setName("test5")) .build();
1
📖 1
🔍 1
l
Hey there 👋 I'm The DataHub Community Support bot. I'm here to help make sure the community can best support you with your request. Let's double check a few things first: ✅ There's a lot of good information on our docs site: www.datahubproject.io/docs, Have you searched there for a solution? ✅ button ✅ It's not uncommon that someone has run into your exact problem before in the community. Have you searched Slack for similar issues? ✅ button Did you find a solution to your issue? ❌ Sorry you weren't able to find a solution. I'm sending you some tips on info you can provide to help the community troubleshoot. Whenever you feel your issue is solved, please react ✅ to your original message to let us know!
b
i dont do java coding, but you probably should be looking at the methods for
SchemaMetadata
class to add fields.