PreviewMCTable
Previews data in a MaxCompute table.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paidesigner:PreviewMCTable |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/datasources/maxcompute/tables/{TableName}/preview HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TableName |
string |
Yes |
The name of the MaxCompute table. |
dwd_hb_user_fdsaf_hi |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WorkspaceId |
string |
Yes |
The workspace ID. |
12345 |
| Partition |
string |
No |
The partition of the MaxCompute table. This parameter can be left empty.
|
pt=20240805 |
| Endpoint |
string |
Yes |
The endpoint of MaxCompute. |
http://service.cn-hangzhou-vpc.maxcompute.aliyun-inc.com/api |
| Limit |
integer |
No |
The number of rows to return. Default value: 1000. |
1000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
F082BD0D-21E1-5F9B-81A0-AB07485B03CD |
| Content |
array |
The list of previewed data rows. |
|
|
array |
The data list. Each column contains one data entry. |
||
|
string |
The table field data. |
123 |
Examples
Success response
JSON format
{
"RequestId": "F082BD0D-21E1-5F9B-81A0-AB07485B03CD",
"Content": [
[
"123"
]
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.