Hi, I'm trying to push an object graph into Datahu...
# ingestion
o
Hi, I'm trying to push an object graph into Datahub (a class hierarchy to be precise) and have run into a basic question about Datahub's support for custom types: Is it possible for a field within a schema to be of a custom type, so that when I click on the type's name it takes me to that type's definition? I've attached a screenshot so that it's more clear. In that pic, let's say AppFeatures is my class, and displayProperties is a field within that class. I want to represent that field as having the type DisplayProperties, and then be able to navigate to that definition of DisplayProperties by clicking on it. Is that possible in Datahub?
I was able to model the nested object as a different DataSet and use a foreign key reference to point to it (see attached pic). Currently my foreign key field is of type String. I haven't tried changing its type to RecordType and then pointing it to the DisplayProperties dataset itself. Will see.
I'm able to change the type of a field to RecordType and make that field point to a field within a different DataSet (see screenshot). But when I try to make my Struct point directly to another DataSet, the UI errors out (possibly because schema is messed up?). In the MCE JSON The foreignFields key expects a field URN as value, and not a DataSet URN. Can the issue be due to that?
Thanks for clarifying this during Office Hours last week.