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>
name | data type | description |
---|---|---|
name | string | |
columns | XColumns | |
storage_descriptor | XStorageTableDesc |
Example
{ "name" : "...", "columns" : { "column" : [ [ { "name" : "...", "_type" : "...", "comment" : "...", "start_time" : "...", "end_time" : "..." }, { "name" : "...", "_type" : "...", "comment" : "...", "start_time" : "...", "end_time" : "..." } ], [ { "name" : "...", "_type" : "...", "comment" : "...", "start_time" : "...", "end_time" : "..." }, { "name" : "...", "_type" : "...", "comment" : "...", "start_time" : "...", "end_time" : "..." } ] ] }, "storage_descriptor" : { "external" : true, "part_cols" : { "column" : [ [ { }, { } ], [ { }, { } ] ] }, "table_parameters" : { "property" : [ [ { }, { } ], [ { }, { } ] ] }, "serde_parameters" : { "property" : [ [ { }, { } ], [ { }, { } ] ] }, "bucket_cols" : [ [ "...", "..." ], [ "...", "..." ] ], "sort_cols" : [ [ "...", "..." ], [ "...", "..." ] ], "sort_col_order" : [ [ 12345, 12345 ], [ 12345, 12345 ] ], "skewed_info" : [ [ { "col_names" : [ [ "...", "..." ], [ "...", "..." ] ], "col_values" : [ [ { }, { } ], [ { }, { } ] ], "value_location_map" : [ [ { }, { } ], [ { }, { } ] ] }, { "col_names" : [ [ "...", "..." ], [ "...", "..." ] ], "col_values" : [ [ { }, { } ], [ { }, { } ] ], "value_location_map" : [ [ { }, { } ], [ { }, { } ] ] } ], [ { "col_names" : [ [ "...", "..." ], [ "...", "..." ] ], "col_values" : [ [ { }, { } ], [ { }, { } ] ], "value_location_map" : [ [ { }, { } ], [ { }, { } ] ] }, { "col_names" : [ [ "...", "..." ], [ "...", "..." ] ], "col_values" : [ [ { }, { } ], [ { }, { } ] ], "value_location_map" : [ [ { }, { } ], [ { }, { } ] ] } ] ], "time_part_cols" : [ [ "...", "..." ], [ "...", "..." ] ] } }