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

2016-09-12 Thread Madhan Neethiraj (JIRA)

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

Madhan Neethiraj commented on ATLAS-1149:
-

If we go with updating the query to handle sorting, make sure to handle update 
of the configuration during upgrade (and revert during downgrade/rollback..). 
Until the mechanism to handle this is in place, I think it makes sense for the 
UI to sort the columns.

> 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: Kalyani Kashikar
>  Labels: ui
> Attachments: ATLAS-1149.1.patch, ATLAS-1149.patch, attach1.json, 
> attach2.json
>
>
> 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)


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

2016-09-12 Thread Kalyani Kashikar (JIRA)

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

Kalyani Kashikar commented on ATLAS-1149:
-

 [~kevalbhatt] In entity details page column data sorting issue is fixed and 
patch is updated.

> 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: Kalyani Kashikar
>  Labels: ui
> Attachments: ATLAS-1149.1.patch, ATLAS-1149.patch, attach1.json, 
> attach2.json
>
>
> 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)


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

2016-09-12 Thread Shwetha G S (JIRA)

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

Shwetha G S commented on ATLAS-1149:


The UI shouldn't do the sort. Instead we should modify the query used for this 
(atlas.lineage.schema.query.hive_table=hive_table where __guid='%s'\, columns) 
to sort by position, so that all clients have the same info. Also, the query 
should filter deleted columns 

> 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: Kalyani Kashikar
>  Labels: ui
> Attachments: ATLAS-1149.patch, attach1.json, attach2.json
>
>
> 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)


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

2016-09-08 Thread Madhan Neethiraj (JIRA)

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

Madhan Neethiraj commented on ATLAS-1149:
-

+1 for the patch. Thanks [~Kalyanikashikar].

> 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: Kalyani Kashikar
>  Labels: ui
> Attachments: ATLAS-1149.patch, attach1.json, attach2.json
>
>
> 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)


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

2016-09-01 Thread Sarath Subramanian (JIRA)

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

Sarath Subramanian commented on ATLAS-1149:
---

1. Create a new hive table in beeline.
0: jdbc:hive2://localhost:1> 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)