|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
StorageDescriptor |
||
| BucketCols | ListString |
The array of bucket fields. |
|
| Cols |
array |
All the fields in a table. |
|
| FieldSchema |
The definitions of table fields. |
||
| Compressed |
boolean |
Specifies whether to enable compression. |
false |
| InputFormat |
string |
The input format. For more information, see the API description of CreateTable. |
org.apache.hadoop.hive.ql.io.avro.AvroContainerInputFormat |
| Location |
string |
The physical location of the table. |
file:///tmp/table |
| NumBuckets |
integer |
The number of buckets to be split. This field is required if BucketCols is set. |
10 |
| OutputFormat |
string |
The output format. For more information, see the API description of CreateTable. |
org.apache.hadoop.hive.ql.io.avro.AvroContainerOutputFormat |
| Parameters |
object |
The mapping array of KVPs. |
|
|
string |
Key-value pair |
key |
|
| SerDeInfo | SerDeInfo |
The information about serialization and deserialization. |
|
| SkewedInfo | SkewedInfo |
The duplicate values or skewed values in a field. |
|
| SortCols |
array |
The sort fields. |
|
| Order |
The field based on which the categories are sorted. |
||
| StoredAsSubDirectories |
boolean |
Specifies whether table data is stored in a subdirectory. |
false |