Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-2125

Atlas UI doesn't show any fields in Schema tab for Hive table entity type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • trunk
    • None
    • None
    • None

    Description

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

      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
      
      

      Attachments

        1. hive-table-schema.png
          137 kB
          Abhishek Kadam

        Activity

          People

            Unassigned Unassigned
            rmani Ramesh Mani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: