You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sarath Subramanian (JIRA)" <ji...@apache.org> on 2016/09/01 19:37:20 UTC

[jira] [Commented] (ATLAS-1149) Changes to UI to sort the hive table schema based on "position" attribute of hive_column

    [ https://issues.apache.org/jira/browse/ATLAS-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15456399#comment-15456399 ] 

Sarath Subramanian commented on ATLAS-1149:
-------------------------------------------

1. Create a new hive table in beeline.
0: jdbc:hive2://localhost:10000> create table employee(id int, name string, ssn string, date_of_birth date, join_date date, loc_state string, loc_country string);

2. GET http://admin:admin@localhost:21000/api/atlas/lineage/hive/table/hr.employee@ErieCluster/schema - see attachment 1

3. GET http://admin:admin@localhost:21000/api/atlas/entities/188465e1-895f-4c07-b883-8f7ecdf9a933 - see attachment 2



> Changes to UI to sort the hive table schema based on "position" attribute of hive_column
> ----------------------------------------------------------------------------------------
>
>                 Key: ATLAS-1149
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1149
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.7-incubating
>            Reporter: Sarath Subramanian
>            Assignee: Keval Bhatt
>              Labels: ui
>
> This is related to ATLAS-772, hive column needs to be sorted based on its original column order. New attribute "position" has been added to hive_column type which maintains the column order number. UI needs to use this information to sort the column based on this attribute



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