查看列。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
clickhouse:DescribeColumns |
get |
*全部资源
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
DBClusterId |
string |
是 |
集群 ID。 |
cc-2zeux3ua25242**** |
SchemaName |
string |
是 |
数据库名。您可以通过调用接口 DescribeSchemas 查询数据库名。 |
database |
TableName |
string |
是 |
表名。您可以通过调用接口 DescribeTables 查询表名。 |
table |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
|||
RequestId |
string |
请求 ID。 |
66428721-FFEC-5023-B4E5-3BD1B67837E0 |
Items |
object |
||
Column |
array<object> |
列信息。 |
|
object |
列信息。 |
||
Type |
string |
列类型。 |
String |
ColumnName |
string |
列名。 |
name |
TableName |
string |
表名。 |
table |
AutoIncrementColumn |
boolean |
列是否自增,取值说明:
|
true |
DBClusterId |
string |
集群 ID。 |
cc-2zeux3ua25242**** |
PrimaryKey |
boolean |
列是否为主键,取值说明:
|
true |
SchemaName |
string |
数据库名。 |
database |
示例
正常返回示例
JSON
格式
{
"RequestId": "66428721-FFEC-5023-B4E5-3BD1B67837E0",
"Items": {
"Column": [
{
"Type": "String",
"ColumnName": "name",
"TableName": "table",
"AutoIncrementColumn": true,
"DBClusterId": "cc-2zeux3ua25242****",
"PrimaryKey": true,
"SchemaName": "database"
}
]
}
}
错误码
HTTP status code |
错误码 |
错误信息 |
描述 |
---|---|---|---|
500 | InternalError | An error occurred while processing your request. | 系统内部错误,请稍后重试 |
503 | ServiceUnavailable | An error occurred while processing your request. | 系统暂时不可用,请稍后重试 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。