Hey . I am trying to ingest ml data via the API. T...
# troubleshoot
b
Hey . I am trying to ingest ml data via the API. This is the problem that I get when ingesting it: The field at path '/mlFeatureTable/name' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'String' within parent type 'MLFeatureTable' An unknown error occurred. Thanks for your help 🙂
b
Hi @busy-waiter-6669! Thanks for reporting. Can you please share the data you've ingested? I think you may have come across a bug. Having the raw payload will help us pinpoint where this is coming from!
b
I ingested the following 3 entities: ML Feature, ML Primary Key and ML Featuretable
@big-carpet-38439 any news?
b
@busy-waiter-6669 Is this error occurring when you load the UI? At first glance I don't see anything obvious. Would you be able to share the GraphQL query that is failing? You can find it in the "Network" tab of Google Chrome inspector if you are not issuing the query yourself
b
@big-carpet-38439 it is an UI problem! Query: "query getMLFeatureTable($urn: String!) {\n mlFeatureTable(urn: $urn) {\n ...nonRecursiveMLFeatureTable\n upstream: lineage(input: {direction: UPSTREAM, start: 0, count: 100}) {\n ...fullLineageResults\n __typename\n }\n downstream: lineage(input: {direction: DOWNSTREAM, start: 0, count: 100}) {\n ...fullLineageResults\n __typename\n }\n __typename\n }\n}\n\nfragment nonRecursiveMLFeatureTable on MLFeatureTable {\n urn\n type\n name\n platform {\n ...platformFi… platform {\n ...platformFields\n __typename\n }\n domain {\n ...entityDomain\n __typename\n }\n container {\n ...entityContainer\n __typename\n }\n status {\n removed\n __typename\n }\n deprecation {\n ...deprecationFields\n __typename\n }\n __typename\n}\n\nfragment leafLineageResults on EntityLineageResult {\n start\n count\n total\n relationships {\n type\n entity {\n urn\n type\n __typename\n }\n __typename\n }\n __typename\n}\n" Answer: 0Object { message: "The field at path '/mlFeatureTable/name' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'String' within parent type 'MLFeatureTable'", path: […], extensions: {…} }
b
@green-football-43791 Have you seen this? Wonder if it is related to recent improvements here..
g
yes i have just merged a pr for this
i let felix know in another thread- but for anyone else who sees this- it should be addressed now!
b
amazing! thank you!