atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-876) No lineage for a re-created ctas table
Date Thu, 16 Jun 2016 06:07:05 GMT

     [ https://issues.apache.org/jira/browse/ATLAS-876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shwetha G S updated ATLAS-876:
------------------------------
    Fix Version/s:     (was: 0.7-incubating)

> No lineage for a re-created ctas table
> --------------------------------------
>
>                 Key: ATLAS-876
>                 URL: https://issues.apache.org/jira/browse/ATLAS-876
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.7-incubating
>            Reporter: Ayub Khan
>            Assignee: Shwetha G S
>            Priority: Critical
>
> No lineage for a re-created ctas table
> Steps to reproduce:
> create table account (name String, balance Int);
> create table account_ctas as select * from account;
> drop table account_ctas;
> create table account_ctas as select * from account;
> Empty responses from server for recreated ctas
> {noformat}
> curl 'http://localhost:21000/api/atlas/lineage/ebd6a5a9-8453-4dbd-b8d9-1575a464ebc3/inputs/graph'
-H 'Cookie: JSESSIONID=12rn8aybkawa5ewiqdb2hv663' -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/50.0.2661.102 Safari/537.36' -H 'Accept:
application/json, text/javascript, */*; q=0.01' -H 'Referer: http://localhost:21000/index.html'
-H 'X-Requested-With: XMLHttpRequest' -H 'Connection: keep-alive' --compressed | python -m
json.tool
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100   237    0   237    0     0    281      0 --:--:-- --:--:-- --:--:--   281
> {
>     "requestId": "qtp1211076369-876 - ad29b29b-7faf-44f2-a2bd-8bbb00f07120",
>     "results": {
>         "jsonClass": "org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
>         "typeName": "__tempQueryResultStruct135",
>         "values": {
>             "edges": {},
>             "vertices": {}
>         }
>     }
> }
> curl 'http://localhost:21000/api/atlas/lineage/ebd6a5a9-8453-4dbd-b8d9-1575a464ebc3/outputs/graph'
-H 'Cookie: JSESSIONID=12rn8aybkawa5ewiqdb2hv663' -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/50.0.2661.102 Safari/537.36' -H 'Accept:
application/json, text/javascript, */*; q=0.01' -H 'Referer: http://localhost:21000/index.html'
-H 'X-Requested-With: XMLHttpRequest' -H 'Connection: keep-alive' --compressed | python -m
json.tool
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100   238    0   238    0     0    271      0 --:--:-- --:--:-- --:--:--   271
> {
>     "requestId": "qtp1211076369-1104 - ee65b8d3-0cf9-4477-a644-d93aab6b625b",
>     "results": {
>         "jsonClass": "org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
>         "typeName": "__tempQueryResultStruct141",
>         "values": {
>             "edges": {},
>             "vertices": {}
>         }
>     }
> }
> {noformat}
> UI snapshot: https://monosnap.com/file/3XcCcffPjrayjLaIByWcjBHU4k2pgV



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message