Managed Service for ClickHouse API, gRPC: FormatSchemaService.Get
Written by
Updated at October 17, 2024
Returns detailed information about a given format schema.
gRPC request
rpc Get (GetFormatSchemaRequest) returns (FormatSchema)
GetFormatSchemaRequest
{
"clusterId": "string",
"formatSchemaName": "string"
}
Field |
Description |
clusterId |
string Required field. ClickHouse cluster ID. To get a ClickHouse cluster ID, use the ClusterService.List method. |
formatSchemaName |
string Required field. Format schema name. To get a format schema name, use the FormatSchemaService.List method. |
FormatSchema
{
"name": "string",
"clusterId": "string",
"type": "FormatSchemaType",
"uri": "string"
}
Field |
Description |
name |
string Format schema name. |
clusterId |
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. |