x_native_table Data Type

Native tables in metastore. Would never be created by client. This specification is used by the LENS API to. return this information to the end user.

Java class for x_native_table complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="x_native_table">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="columns" type="{uri:lens:cube:0.1}x_columns"/>
         <element name="storage_descriptor" type="{uri:lens:cube:0.1}x_storage_table_desc"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="dbname" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="owner" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="table_type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="createtime" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="lastAccessTime" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 

Namespace
uri:lens:cube:0.1
Schema
ns2.xsd
Properties
name data type type namespace min/max occurs constraints description
createtime int attribute 1/1    
dbname string attribute 1/1    
lastAccessTime int attribute 1/1    
name string attribute 1/1    
owner string attribute 0/1    
table_type string attribute 1/1    
columns x_columns element ns2 1/1 required  
storage_descriptor x_storage_table_desc element ns2 1/1 required  

Example

<x----- createtime="..." dbname="..." lastAccessTime="..." name="..." owner="..." table_type="..." xmlns="uri:lens:cube:0.1">
  <columns>
    <column _type="..." comment="..." end_time="..." name="..." start_time="..."/>
  </columns>
  <storage_descriptor collection_delimiter="..." compressed="..." escape_char="..." external="..." field_delimiter="..." input_format="..." line_delimiter="..." map_key_delimiter="..." num_buckets="..." output_format="..." serde_class_name="..." storage_handler_name="..." table_location="...">
    <part_cols>
      <column/>
    </part_cols>
    <table_parameters>
      <property/>
    </table_parameters>
    <serde_parameters>
      <property/>
    </serde_parameters>
    <bucket_cols>...</bucket_cols>
    <sort_cols>...</sort_cols>
    <sort_col_order>...</sort_col_order>
    <skewed_info>
      <col_names>...</col_names>
      <col_values/>
      <value_location_map/>
    </skewed_info>
    <time_part_cols>...</time_part_cols>
  </storage_descriptor>
</x----->