toLinkedHashMap: mutable.LinkedHashMap[String, String]CatalogTablePartition — Partition Specification of Table
CatalogTablePartition is the partition specification of a table, i.e. the metadata of the partitions of a table.
CatalogTablePartition is created when:
- 
HiveClientImplis requested to retrieve a table partition metadata
- 
AlterTableAddPartitionCommandandAlterTableRecoverPartitionsCommandlogical commands are executed
CatalogTablePartition can hold the table statistics that…FIXME
The readable text representation of a CatalogTablePartition (aka simpleString) is…FIXME
| Note | simpleStringis used exclusively whenShowTablesCommandis executed (with a partition specification). | 
CatalogTablePartition uses the following text representation (i.e. toString)…FIXME
Creating CatalogTablePartition Instance
CatalogTablePartition takes the following when created:
- 
Table statistics (default: None)
 Converting Partition Specification to LinkedHashMap — toLinkedHashMap Method
toLinkedHashMap converts the partition specification to a collection of pairs (LinkedHashMap[String, String]) with the following fields and their values:
- 
Partition Values with the spec 
- 
Storage specification (of the given CatalogStorageFormat) 
- 
Partition Parameters with the parameters (if not empty) 
- 
Partition Statistics with the CatalogStatistics (if available) 
| Note | 
 
 | 
 location Method
location: URIlocation simply returns the location URI of the CatalogStorageFormat or throws an AnalysisException:
Partition [[specString]] did not specify locationUri| Note | locationis used when…FIXME |