Queries the output information in a metatable. This operation will be replaced soon. We recommend that you do not call this operation.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | GetMetaTableOutput | The operation that you want to perform. Set the value to GetMetaTableOutput. |
PageNumber | Integer | No | 1 | The page number. Valid values: 1 to 30. Default value: 1. |
PageSize | Integer | No | 10 | The number of entries per page. Default value: 10. Maximum value: 100. |
TableGuid | String | Yes | odps.engine_name.table_name | The GUID of the metatable. |
StartDate | String | Yes | 2020-06-27 | The start date. |
EndDate | String | Yes | 2020-05-27 | The end date. |
TaskId | String | No | 1048576 | The node ID. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
HttpStatusCode | Integer | 200 | The HTTP status code returned. |
ErrorMessage | String | The specified parameters are invalid. | The error message returned. |
RequestId | String | 0bc1ec92159376**** | The request ID. |
Success | Boolean | true | Indicates whether the request was successful. |
ErrorCode | String | 1031203110005 | The error code returned. |
Data | Object | The returned result. |
|
PageNumber | Integer | 1 | The page number. Valid values: 1 to 30. Default value: 1. |
PageSize | Integer | 10 | The number of entries per page. Default value: 10. Maximum value: 100. |
TotalCount | Long | 100 | The total number of metatables. |
DataEntityList | Array of DataEntityList | The list of instances. |
|
EndTime | String | 1511107200000 | The end of the time range to query. |
TaskInstanceId | Long | 3521 | The instance ID. |
StartTime | String | 1511107200000 | The beginning of the time range to query. |
ProjectId | Long | 333 | The workspace ID. |
WaitTime | String | 323 | The waiting time. |
TableGuid | String | odps.engine_name.table_name | The GUID of the MaxCompute table. |
TaskId | String | 1048576 | The node ID. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=GetMetaTableOutput
&PageNumber=1
&PageSize=10
&TableGuid=odps.engine_name.table_name
&StartDate=2020-06-27
&EndDate=2020-05-27
&TaskId=1048576
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<GetMetaTableOutputResponse>
<HttpStatusCode>200</HttpStatusCode>
<ErrorMessage>The specified parameters are invalid.</ErrorMessage>
<RequestId>0bc1ec92159376****</RequestId>
<Success>true</Success>
<ErrorCode>1031203110005</ErrorCode>
<Data>
<PageNumber>1</PageNumber>
<PageSize>10</PageSize>
<TotalCount>100</TotalCount>
<DataEntityList>
<EndTime>1511107200000</EndTime>
<TaskInstanceId>3521</TaskInstanceId>
<StartTime>1511107200000</StartTime>
<ProjectId>333</ProjectId>
<WaitTime>323</WaitTime>
<TableGuid>odps.engine_name.table_name</TableGuid>
<TaskId>1048576</TaskId>
</DataEntityList>
</Data>
</GetMetaTableOutputResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"HttpStatusCode" : 200,
"ErrorMessage" : "The specified parameters are invalid.",
"RequestId" : "0bc1ec92159376****",
"Success" : true,
"ErrorCode" : "1031203110005",
"Data" : {
"PageNumber" : 1,
"PageSize" : 10,
"TotalCount" : 100,
"DataEntityList" : [ {
"EndTime" : "1511107200000",
"TaskInstanceId" : 3521,
"StartTime" : "1511107200000",
"ProjectId" : 333,
"WaitTime" : "323",
"TableGuid" : "odps.engine_name.table_name",
"TaskId" : "1048576"
} ]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidParameter.Meta.CommonError | The specified parameter is invalid. | The error message returned because the values specified for one or more request parameters are invalid. |
400 | InvalidParameter.Meta.Illegal | The app guid parameter is invalid. | The error message returned because the values specified for one or more parameters of the application are invalid. |
400 | InvalidParameter.Meta.IllegalDate | The date format is invalid. | The error message returned because the date format is invalid. |
400 | InvalidParameter.Meta.IllegalPageError | The parameter for paging is invalid. | The error message returned because the value of the parameter for paging is invalid. |
400 | InvalidParameter.Meta.NotExist | The object does not exist. | The error message returned because the object you query does not exist. |
403 | Forbidden.Meta.NoTenant | The user is not the owner of any tenants. | The error message returned because the current user is not a tenant owner. |
429 | Throttling.Api | The request for this resource has exceeded your available limit. | The error message returned because the number of requests for the resource has exceeded the upper limit. |
429 | Throttling.Api.Risk | The request for this resource has exceeded your daily available limit. | The error message returned because the number of requests per day for the resource has exceeded the upper limit. |
429 | Throttling.System | The DataWorks system is busy. Try again later. | The error message returned because the DataWorks system is busy. Try again later. |
429 | Throttling.User | Your request is too frequent. Try again later. | The error message returned because excessive requests have been submitted within a short period of time. Try again later. |
500 | InternalError.System | An internal system error occurred. Try again later. | The error message returned because an internal error has occurred. Try again later. |
500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | The error message returned because an internal error has occurred. Try again later. |
500 | InternalError.Meta.NoCalcEngine | An error occurred while retrieving the compute engine based on the MaxCompute project. | The error message returned because the system has failed to obtain the compute engine instance based on the specified MaxCompute project. |
500 | InternalError.Meta.TenantTimeOut | Failed to connect to the interface network. | The error message returned because the network cannot be connected. |
500 | InternalError.Meta.Unknown | An unknown error occurred while processing your request. | The error message returned because an unknown error has occurred. |
For a list of error codes, see Service error codes.
For information about the example on how to use the GetMetaTableOutput operation, see Examples of DataWorks API operations.