Queries the precheck details of an SQL result set export ticket.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetDataExportPreCheckDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| OrderId |
integer |
Yes |
The ID of the ticket. You can call the ListOrders operation to obtain the ticket ID. |
34**** |
| Tid |
integer |
No |
The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID. |
3*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C1D39814-9808-47F8-AFE0-AF167239AC9B |
| ErrorCode |
string |
The error code. |
UnknownError |
| ErrorMessage |
string |
The error message. |
UnknownError |
| PreCheckResult |
object |
The precheck result. |
|
| IgnoreAffectRows |
boolean |
Indicates whether to skip verification. Valid values:
|
true |
| PreCheckDetailList |
object |
||
| PreCheckDetailList |
array<object> |
The precheck details. |
|
|
object |
|||
| AffectRows |
integer |
The estimated number of data rows to be affected. |
1 |
| SQL |
string |
The SQL statement. |
SELECT * FROM tmp_table LIMIT 1 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "C1D39814-9808-47F8-AFE0-AF167239AC9B",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"PreCheckResult": {
"IgnoreAffectRows": true,
"PreCheckDetailList": {
"PreCheckDetailList": [
{
"AffectRows": 1,
"SQL": "SELECT * FROM tmp_table LIMIT 1"
}
]
}
},
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.