Indicates whether the table is a custom SQL table. Valid values: \* true: custom SQL table \* false: non-custom SQL table
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DatasetId | string | Yes | Queries information about a specified dataset. | a201c85c-****** |
Response parameters
Examples
Sample success responses
JSON
format
{
"Success": true,
"RequestId": "a4d1a221d-41za1-****",
"Result": {
"GmtModify": "1629450382000",
"DsName": "odps",
"DsId": "a201c85c-******",
"OwnerName": "The name of the dataset owner.\n",
"WorkspaceName": "The name of the workspace in which the dataset resides.\n",
"OwnerId": "b8494aab26124*****",
"DatasetName": "opds_40",
"RowLevel": false,
"WorkspaceId": "420abef4-a79b-4289-b12****",
"CustimzeSql": false,
"GmtCreate": "1629450382000",
"DsType": "odps",
"DatasetId": "a201c85c-******",
"CubeTableList": [
{
"TableName": "viewdasb8494aab2612473cb74992159fe****",
"DatasourceId": "dfefd7f4-fc6e-42c9-b4******",
"DsType": "maxcompute",
"UniqueId": "7a62530b36",
"FactTable": true,
"Caption": "odps_40",
"Customsql": false,
"Sql": "select * from ****"
}
],
"DimensionList": [
{
"DataType": "string",
"Expression": "example_expression",
"FactColumn": "city",
"DimensionType": "group_dimension",
"Granularity": "example_granularity",
"RefUid": "308f7****",
"Caption": "city",
"Uid": "a69774***",
"TableUniqueId": "7a62530***"
}
],
"MeasureList": [
{
"DataType": "string",
"Expression": "example_expression",
"MeasureType": "calculate_measure",
"FactColumn": "profit_amt",
"Caption": "profit_amt",
"TableUniqueId": "7a62530b36",
"Uid": "88b680****"
}
],
"Directory": {
"PathId": "88b680****",
"PathName": "The path name of the directory ID, for example, one-level directory /two-level directory.\n",
"Name": "The name of the directory.\n",
"Id": "a3eecab7-618d-4f9f-*****"
}
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | - | ||
400 | - | ||
400 | - | ||
400 | - | ||
400 | - | ||
400 | - | ||
400 | - | ||
400 | - | ||
400 | - | ||
400 | - | ||
400 | - | ||
400 | - | ||
400 | - | ||
400 | - | ||
400 | - | ||
400 | - | ||
400 | - | ||
400 | - | ||
400 | - | ||
400 | - | ||
400 | ApiUser.Not.Exists | The specified user does not exist. | The specified user does not exist. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-05-22 | The Error code has changed. The response structure of the API has changed | View Change Details |