gentle-father-80172
03/21/2022, 3:46 PM"Validation error of type FieldUndefined: Field 'lineage' in type 'Dataset' is undefined @ 'dataset/lineage'"
gentle-father-80172
03/21/2022, 3:46 PM{
dataset(urn: "urn:li:dataset:(urn:li:dataPlatform:glue,schema.table,PROD)"){
urn
name
lineage(direction: UPSTREAM, start:0, count:10){
relationships{
type
entity
degree
}
}
}
}
big-carpet-38439
03/21/2022, 5:47 PMbig-carpet-38439
03/21/2022, 5:48 PM{
dataset(urn: "urn:li:dataset:(urn:li:dataPlatform:glue,schema.table,PROD)"){
urn
name
lineage(input: { direction: UPSTREAM, start:0, count:10 }){
relationships{
type
entity
degree
}
}
}
}
gentle-father-80172
03/21/2022, 6:15 PMlineage
field is deprecated? It seems the relationships
field works (found from the EntityWithRelationships
doc), however I'm getting a new error 😅
Query:
{
dataset(urn: "urn:li:dataset:(urn:li:dataPlatform:glue,schema.table,PROD)"){
urn
name
relationships(input: {types:["*"], direction:OUTGOING, start:0, count:10 }){
relationships{
type
direction
entity{
urn
}
}
}
}
}
result:
{
"errors": [
{
"message": "An unknown error occurred.",
"locations": [
{
"line": 36,
"column": 7
}
],
"path": [
"dataset",
"relationships"
],
"extensions": {
"code": 500,
"type": "SERVER_ERROR",
"classification": "DataFetchingException"
}
}
],
"data": {
"dataset": {
"urn": "urn:li:dataset:(urn:li:dataPlatform:glue,schema.table,PROD)",
"name": "prod.public.kpi_master",
"relationships": null
}
}