Hi teams, the graphql api - searchAcrossLineage don’t return the lineages which is 3+ degree. I want to get all downstream lineages of a dataset, which api is for me ?
searchAcrossLineage(input: {
urn: "urn:li:dataset:(urn:li:dataPlatform:mysql,10_16_10_94_3306_root.ApolloPortalDB.App,PROD)",
direction: DOWNSTREAM,
types: [DATASET],
query: "*",
start: 0,
count: 100,
orFilters: [
{
and:[
{
field: "degree",
values: ["1", "2", "3+"]
}
]
}
]
}){
total
searchResults{
entity{
... on Dataset{
urn
}
}
degree
}
}
}
// response
{
"data": {
"searchAcrossLineage": {
"total": 3,
"searchResults": [
{
"entity": {
"urn": "urn:li:dataset:(urn:li:dataPlatform:mysql,10_16_10_94_3306_root.information_schema.INNODB_FT_CONFIG,PROD)"
},
"degree": 1
},
{
"entity": {
"urn": "urn:li:dataset:(urn:li:dataPlatform:mysql,DgTest.TAG_TEST3,PROD)"
},
"degree": 1
},
{
"entity": {
"urn": "urn:li:dataset:(urn:li:dataPlatform:mysql,DgTest.Test2,PROD)"
},
"degree": 2
}
]
}
},
"extensions": {}
}```
Datahub version: 0.12.0