How to get lineage response using Consumer API #1340
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Well yes, it's a wrong response. The correct error should be 404 or 400, but definitely not 500. I've created an issue for that - #1341 Nevertheless, take a look at the REST API doc - http://localhost:8080/docs/consumer.html#tag/lineage |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for your quick response and help @wajda . I am trying as per the given endpoint. whereas for http://localhost/execution-plans/{plan_id}/data-sources I've added required parameters, please let me know if I am missing anything to update in the url to add GET parameter. Thanks. |
Beta Was this translation helpful? Give feedback.
/consumer/attribute-lineage-and-impact/
should be called as/consumer/attribute-lineage-and-impact/?attributeId=xxxx
where xxxx is an internal ID (_key
in the ArangoDB collection) of the attribute you are requesting. Also note that currently attribute-level lineage is limited by the boundaries of a single execution-plan. End-to-end attribute-level lineage query isn't implemented yet.