Lineage queries return extra information

Description

Querying for the linage of a stream also returns the lineage for datasets accessed by the same programs, for example:

curl localhost:10000/v3/namespaces/default/streams/who/lineage?start=0\&end=now | python -mjson.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 796 100 796 0 0 17534 0 --:--:-- --:--:-- --:--:-- 17688 { "data": { "dataset.default.whom": { "entityId": { "id": { "instanceId": "whom", "namespace": { "id": "default" } }, "type": "datasetinstance" } }, "stream.default.who": { "entityId": { "id": { "namespace": { "id": "default" }, "streamName": "who" }, "type": "stream" } } }, "end": 1447746671, "programs": { "flows.default.HelloWorld.WhoFlow": { "entityId": { "id": { "application": { "applicationId": "HelloWorld", "namespace": { "id": "default" } }, "id": "WhoFlow", "type": "Flow" }, "type": "program" } } }, "relations": [ { "access": "read", "components": [ "saver" ], "data": "stream.default.who", "program": "flows.default.HelloWorld.WhoFlow", "runs": [ "49c34032-8cff-11e5-9443-000000d4b98d" ] }, { "access": "unknown", "components": [ "saver" ], "data": "dataset.default.whom", "program": "flows.default.HelloWorld.WhoFlow", "runs": [ "49c34032-8cff-11e5-9443-000000d4b98d" ] } ], "start": 0 }

Release Notes

None

Activity

Show:

NitinM June 9, 2020 at 1:30 AM

Closing issues that haven't been updated for more than 2 years.

Won't Fix
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Components

Priority

Created November 17, 2015 at 7:51 AM
Updated June 9, 2020 at 1:30 AM
Resolved June 9, 2020 at 1:30 AM