XPartition Data Type

Partition details

Java class for x_partition complex type.

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

 <complexType name="x_partition">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="non_time_partition_spec" type="{uri:lens:cube:0.1}x_part_spec" minOccurs="0"/>
         <element name="time_partition_spec" type="{uri:lens:cube:0.1}x_time_part_spec" minOccurs="0"/>
         <element name="full_partition_spec" type="{uri:lens:cube:0.1}x_part_spec" minOccurs="0"/>
         <element name="partition_parameters" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
         <element name="serde_parameters" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
       </sequence>
       <attribute name="fact_or_dimension_table_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="location" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="input_format" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="output_format" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="serde_classname" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="update_period" type="{uri:lens:cube:0.1}x_update_period" />
     </restriction>
   </complexContent>
 </complexType>
 

Properties
name data type description
fact_or_dimension_table_name string
non_time_partition_spec XPartSpec
time_partition_spec XTimePartSpec
full_partition_spec XPartSpec
partition_parameters XProperties
serde_parameters XProperties

Example

{
  "fact_or_dimension_table_name" : "...",
  "non_time_partition_spec" : {
    "part_spec_element" : [ [ {
      "key" : "...",
      "value" : "..."
    }, {
      "key" : "...",
      "value" : "..."
    } ], [ {
      "key" : "...",
      "value" : "..."
    }, {
      "key" : "...",
      "value" : "..."
    } ] ]
  },
  "time_partition_spec" : {
    "part_spec_element" : [ [ {
      "key" : "...",
      "value" : 12345
    }, {
      "key" : "...",
      "value" : 12345
    } ], [ {
      "key" : "...",
      "value" : 12345
    }, {
      "key" : "...",
      "value" : 12345
    } ] ]
  },
  "full_partition_spec" : {
    "part_spec_element" : [ [ {
      "key" : "...",
      "value" : "..."
    }, {
      "key" : "...",
      "value" : "..."
    } ], [ {
      "key" : "...",
      "value" : "..."
    }, {
      "key" : "...",
      "value" : "..."
    } ] ]
  },
  "partition_parameters" : {
    "property" : [ [ {
      "name" : "...",
      "value" : "..."
    }, {
      "name" : "...",
      "value" : "..."
    } ], [ {
      "name" : "...",
      "value" : "..."
    }, {
      "name" : "...",
      "value" : "..."
    } ] ]
  },
  "serde_parameters" : {
    "property" : [ [ {
      "name" : "...",
      "value" : "..."
    }, {
      "name" : "...",
      "value" : "..."
    } ], [ {
      "name" : "...",
      "value" : "..."
    }, {
      "name" : "...",
      "value" : "..."
    } ] ]
  }
}