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

Ramesh Mani updated ATLAS-2125:
-------------------------------
    Description: 
Atlas UI doesn't show any fields in Schema tab for Hive table entity type. It 
is empty
{code:java}
create table if not exists employee_partitioned
 (
name string,
work_place ARRAY<string>,
sex_age STRUCT<sex:string,age:int>,
skills_score MAP<string,int>,
depart_title MAP<string,ARRAY<string>>
)
comment 'This is an partitioned table'
partitioned by (Year int, Month int)
row format delimited
 fields terminated by '|'
collection items terminated by ','
map keys terminated by ':'
stored as textfile;

load data local inpath '/tmp/emp.txt' overwrite into table employee_partitioned 
partition ( Year=2016, Month=12)

emp.txt data
Sam|Fremont,CA|Male,35|DB:822|Product:Developer,Test:Lead

Will|Vancouver,BC|Male,26|perl:822|Product:Lead,Test:Lead

Lucy|New York, NY|Female,27|Sales:89,HR:96|Sales:Lead

Sandra|Raleigh, NC|Female,29|Python:89,HR:96|COE:Architect,Test:Lead

{code}


  was:Atlas UI doesn't show any fields in Schema tab for Hive table entity 
type. It is empty


> Atlas UI doesn't show any  fields in Schema tab for Hive table entity type
> --------------------------------------------------------------------------
>
>                 Key: ATLAS-2125
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2125
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Ramesh Mani
>
> Atlas UI doesn't show any fields in Schema tab for Hive table entity type. It 
> is empty
> {code:java}
> create table if not exists employee_partitioned
>  (
> name string,
> work_place ARRAY<string>,
> sex_age STRUCT<sex:string,age:int>,
> skills_score MAP<string,int>,
> depart_title MAP<string,ARRAY<string>>
> )
> comment 'This is an partitioned table'
> partitioned by (Year int, Month int)
> row format delimited
>  fields terminated by '|'
> collection items terminated by ','
> map keys terminated by ':'
> stored as textfile;
> load data local inpath '/tmp/emp.txt' overwrite into table 
> employee_partitioned partition ( Year=2016, Month=12)
> emp.txt data
> Sam|Fremont,CA|Male,35|DB:822|Product:Developer,Test:Lead
> Will|Vancouver,BC|Male,26|perl:822|Product:Lead,Test:Lead
> Lucy|New York, NY|Female,27|Sales:89,HR:96|Sales:Lead
> Sandra|Raleigh, NC|Female,29|Python:89,HR:96|COE:Architect,Test:Lead
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to