CatalogStorageFormat¶
[[creating-instance]] CatalogStorageFormat
is the storage specification of a partition or a table, i.e. the metadata that includes the following:
- [[locationUri]] Location URI (Java URI)
- [[inputFormat]] Input format
- [[outputFormat]] Output format
- [[serde]] SerDe
- [[compressed]]
compressed
flag - [[properties]] Properties (as
Map[String, String]
)
CatalogStorageFormat
is <
-
HiveClientImpl
is requested for metadata of a table or table partition -
SparkSqlAstBuilder
is requested to parse Hive-specific CREATE TABLE or INSERT OVERWRITE DIRECTORY SQL statements
[[toString]] CatalogStorageFormat
uses the following text representation (i.e. toString
)...FIXME
=== [[toLinkedHashMap]] Converting Storage Specification to LinkedHashMap -- toLinkedHashMap
Method
[source, scala]¶
toLinkedHashMap: mutable.LinkedHashMap[String, String]¶
toLinkedHashMap
...FIXME
toLinkedHashMap
is used when:
CatalogStorageFormat
is requested for a text representationCatalogTablePartition
is requested for toLinkedHashMapCatalogTable
is requested for toLinkedHashMap- DescribeTableCommand is executed