Managed Service for ClickHouse API, gRPC: FormatSchemaService.Get
Written by
Updated at November 26, 2024
Returns detailed information about a given format schema.
gRPC request
rpc Get (GetFormatSchemaRequest) returns (FormatSchema)
GetFormatSchemaRequest
{
"cluster_id": "string",
"format_schema_name": "string"
}
Field |
Description |
cluster_id |
string Required field. ClickHouse cluster ID. To get a ClickHouse cluster ID, use the ClusterService.List method. |
format_schema_name |
string Required field. Format schema name. To get a format schema name, use the FormatSchemaService.List method. |
FormatSchema
{
"name": "string",
"cluster_id": "string",
"type": "FormatSchemaType",
"uri": "string"
}
Field |
Description |
name |
string Format schema name. |
cluster_id |
string ClickHouse cluster ID. |
type |
enum FormatSchemaType Schema type. Possible values are the following:
|
uri |
string Link to the file of a format schema in Yandex Object Storage. Managed Service for ClickHouse works only with format schemas imported to Object Storage. |