Ayub Khan created ATLAS-274: ------------------------------- Summary: No lineage is recorded for creating a table using LIKE Key: ATLAS-274 URL: https://issues.apache.org/jira/browse/ATLAS-274 Project: Atlas Issue Type: Bug Affects Versions: 0.6-incubating Reporter: Ayub Khan
Seems like no lineage is recorded for creating a table using LIKE example: create table table_1242 LIKE table_1240 Input graph query {noformat} curl 'http://localhost:21000/api/atlas/lineage/hive/table/primary.default.table_1242/inputs/graph' -H 'Accept-Encoding: gzip, deflate, sdch' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36' -H 'Accept: application/json, text/plain, */*' -H 'Referer: http://localhost:21000/' -H 'Cookie: JSESSIONID=15b7c1abmgzpsv2gax1e68sor' -H 'Connection: keep-alive' --compressed | python -m json.tool { "requestId": "qtp983814036-14184 - f97fb1cb-be0b-4eaa-8338-5c1543803438", "results": { "jsonClass": "org.apache.atlas.typesystem.json.InstanceSerialization$_Struct", "typeName": "__tempQueryResultStruct267", "values": { "edges": {}, "vertices": {} } }, "tableName": "primary.default.table_1242" } {noformat} Output graph query {noformat} curl 'http://localhost:21000/api/atlas/lineage/hive/table/primary.default.table_1242/outputs/graph' -H 'Accept-Encoding: gzip, deflate, sdch' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36' -H 'Accept: application/json, text/plain, */*' -H 'Referer: http://localhost:21000/' -H 'Cookie: JSESSIONID=15b7c1abmgzpsv2gax1e68sor' -H 'Connection: keep-alive' --compressed | python -m json.tool { "requestId": "qtp983814036-14184 - 14e8cbc2-c2df-42b5-b506-51649fe2705b", "results": { "jsonClass": "org.apache.atlas.typesystem.json.InstanceSerialization$_Struct", "typeName": "__tempQueryResultStruct261", "values": { "edges": {}, "vertices": {} } }, "tableName": "primary.default.table_1242" } {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)