Queries the results of a materialized view recommendation task.
Operation description
For information about the endpoints of this service, see Endpoints.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:DescribeMVRecommendResults |
get |
*DBClusterLakeVersion
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SubtaskId |
integer |
No |
The subtask ID. |
123 |
| TaskName |
string |
No |
The name of the recommendation task. |
task_n1 |
| SubQueryId |
integer |
No |
The subquery ID. |
123 |
| PageNumber |
integer |
No |
The page number. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
30 |
| DBClusterId |
string |
No |
The cluster ID. |
am-bp1ub9grke1**** |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| From |
string |
No |
A static value. This parameter cannot be modified. |
不支持修改 |
| ActionInner |
string |
No |
A static value. This parameter cannot be modified. |
不支持修改 |
| OrderBy |
string |
No |
The sorting field. |
{"Type": "Desc","Field": "AcceleratedQueriesCount"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response schema |
||
| RequestId |
string |
The request ID. |
1AD222E9-E606-4A42-BF6D-8A4442913CEF |
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries returned per page. |
30 |
| TotalCount |
integer |
The total number of entries. |
20 |
| Data |
object |
The returned data. |
|
| PageNumber |
integer |
The page number. The default value is 1. |
1 |
| PageSize |
integer |
The number of entries per page. Valid values:
|
20 |
| TotalCount |
integer |
The total number of entries. |
1 |
| MvRecommendResultModels |
array |
A list of materialized view recommendation results. |
|
| open_struct_MVRecommendResultModel |
The details of a recommendation result. |
Examples
Success response
JSON format
{
"RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF",
"PageNumber": 1,
"PageSize": 30,
"TotalCount": 20,
"Data": {
"PageNumber": 1,
"PageSize": 20,
"TotalCount": 1,
"MvRecommendResultModels": [
{
"BaseTables": [
{
"TableName": "",
"DataVolumn": "",
"EnableBinlog": true,
"SchemaName": ""
}
],
"AcceleratedQueriesCount": 0,
"SupportIncrementalRefresh": true,
"SubqueryId": 0,
"SavedScanbytes": 0,
"Subquery": ""
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MDS.IllegalArgument | Invalid argument. | An invalid parameter is used. |
| 400 | MDS.InvalidPrivilege | No permissions. | You are not authorized to perform this operation. |
| 400 | MDS.MetaSchemaAlreadyExist | The database already exists. | The specified database already exists. |
| 400 | MDS.MetaSchemaNotExist | The database does not exist. | The specified database does not exist. |
| 400 | MDS.MetaTableAlreadyExist | The table already exists. | The specified table already exists. |
| 400 | MDS.MetaTableNotExist | The table is not found. | The specified table does not exist. |
| 500 | MDS.InternalError | An internal MDS error occurred. | An internal error occurred. |
| 500 | MDS.MetaVisitError | Failed to access metadata. | Failed to access the metadata. |
| 403 | MDS.RamAuthAccessDenied | ram auth access denied. | RAM authentication failed |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.