Hi team, I have defined metadata models custom (.p...
# advice-metadata-modeling
b
Hi team, I have defined metadata models custom (.pdl) as shown in below image and I am able to insert successfully on the dataset entity but I am not able get array type or map or nested record on the UI , can anyone suggest why this is happening?
d
Hi, we might need more information - could you post here the full .pdl and the full screenshot of UI? what is your expected outcome of this?
b
DataQualityRules.pdl file namespace com.mycompany.dq @Aspect = { "autoRender" : true, "name" : "customDataQualityRules", "renderSpec" : { "displayName" : "DQ Rules", "displayType" : "tabular", "key" : "rules" } } record DataQualityRules { rules: array[DataQualityRule] } DataQualityRule.pdl file namespace com.mycompany.dq import com.linkedin.schema.ArrayType record DataQualityRule { field: optional string isFieldLevel: boolean type: string checkDefinition: optional string url: optional string arr: array[int] ints: optional int floats: optional float } And I am inserting this json file: { "rules": [ { "field": "my_event_data", "isFieldLevel": false, "type": "isNull", "checkDefinition": "n/a", "url": "https://github.com/datahub-project/datahub/blob/master/checks/nonNull.sql", "arr": [1,2,3], "ints": 1, "floats": 2.001 }, { "field": "timestamp", "isFieldLevel": true, "type": "increasing", "checkDefinition": "n/a", "url": "https://github.com/datahub-project/datahub/blob/master/checks/increasing.sql", "arr": [1,2,3], "ints": 1, "floats": 2.001 } ] } It's a different pdl that I tried but still no luck. Here's the output as shown in the image. There is no array of integer there. Although in my json file I am putting array.
Just to follow up on the same...