Hi all, I want to ingest from a custom data source...
# troubleshoot
s
Hi all, I want to ingest from a custom data source through the RestEmitter. I am trying to add the DatasetProperties to the new dataset. But it’s not clear how to set the properties. Can anyone help?
b
Hey! DatasetProperties aspect is used to define basic information about the dataset like its name description, and a set of freeform properties (Called customproperties). How can we help?
s
Hi @big-carpet-38439 I’m getting the error
Copy code
Failed to validate record with class com.linkedin.dataset.DatasetProperties: ERROR
:: "/some_string" unrecognized field found but not allowed
At runtime
b
Do you mind sharing the code snippet?
s
Hi @big-carpet-38439, My issue is resolved now. I was populating schema in the DatasetProperties but I realised I need to use SchemaMetadata class for that.
Thanks for the help!