Hi All - Is there a way to get the FineGrainedLine...
# troubleshoot
r
Hi All - Is there a way to get the FineGrainedLineage out of a GraphQL query? I can see the lineage when looking at the column in the UI, so I'm assuming GraphQL is being used to create that, but when I use
searchAcrossLineage
and pass in a starting
schemaField
urn, I only get the datasets back. It doesn't tell me which columns in those datasets are linked to the starting
schemaField
.
plus1 2
Ideally I would expect given a starting schemaField URN that graphQL would return all downstream schemaField entities that are linked to the starting one.
a
you’d likely need to program the functionality you described. We’d likely accept a contribution there, otherwise it’s a feature request https://feature-requests.datahubproject.io/
@echoing-airport-49548 might have something to add here though
e
Hi @rhythmic-stone-77840, here’s an example of getting fine grained lineage on the Lineage Graph for this dataset on the demo environment
If we go to the Chrome network tab I can see the query I care about
By right clicking on the network tab, I can copy the curl command, which will give me the parameters I need for GraphQL as well
Does that help?
r
It seems like
getEntityLineage
isn't in the documentation anywhere for the graphQL interface 😕 The curl command is really long and hard to parse, so I was hoping there would be more guidance somewhere on how it should be set up.
Found a better formatted version here - but if I'm reading this right it still wouldn't give me ALL the downstream lineage for an entity. Just the first degree links. (Also this can't be run as is in GraphQL)
g
Hey @rhythmic-stone-77840, did you end up figuring this out? I am also looking for a solution to extract column level lineage from Graphql