Skip to content

Get Dataset Details

API Description

Use this API to query dataset details in the metrics platform.

API URL

GET Http://{anymetrics_host:anymetrics_port}/anymetrics/api/v1/dataset/info?name=tb_user_api_2

For how to obtain anymetrics_host:anymetrics_port, see Calling APIs.

Common Request Parameters

Parameter Type Required Description
tenant-id String Yes Tenant ID. Identifies the tenant for metric query content.
auth-type String Yes Authentication method. Supported values: UID, TOKEN, ACCOUNT, and APIKEY.
auth-value String Yes Authentication value corresponding to auth-type.

How to Obtain Common Parameters

To obtain tenant-id, select a metrics application in the top navigation bar of Aloudata CAN, choose API Integration from the left navigation menu, and copy it from the API Integration page. Set auth-value according to the selected auth-type.

image.png

Request Parameters

Parameter Type Required Maximum Length Description Example
name String Yes 128 Dataset name. datasetName

Response Parameters

1. Basic Information

Parameter Type Required Description
data Array Yes For details, see the data parameter description.
success Boolean Yes Whether the request succeeded.
code String Yes Status code, such as "200".
errorMsg String No Error message returned when the request fails.
detailErrorMsg String No Detailed error message.
traceId String Yes Request trace ID.

2. data Parameter Description

Field Type Description
name String Dataset name. Globally unique; supports letters, numbers, and underscores, and is trimmed.
displayName String Dataset display name shown in the frontend.
description String Dataset description.
version Integer Version number.
isPublished Bool Whether the dataset has been published.
hasDraft Bool Whether the dataset is in draft state.
sourceInfo Object Data source information. See sourceInfo Response.
columns Array Externally visible columns, which are the subset of defColumns excluding columns where isHidden=true.
defColumns Array All columns defined for the dataset, including hidden columns. See Column Field Description.
relations Array Relationships that this dataset actively defines to other datasets. This is the case where the current dataset is on the N side.
relationFroms Array Relationships from other datasets to this dataset. This is the case where the current dataset is on the 1 side.
filter String Frontend-only filter condition in FormulaDef JSON format. For OpenAPI, read filterExpr.
filterExpr String Dataset-level filter condition expression string. null when no filter is configured.
layout Object Frontend filter UI state. The backend passes it through without parsing. OpenAPI callers do not need to use it.
resourceId String Permission resource ID, usually the same as the dataset name. Useful only in permission-related scenarios.
userPrivilegeResultDTO Object Permission information for the current user on this dataset. Useful only when checking permissions. See Permission Field Description.
createTime Long Creation timestamp, in milliseconds.
updateTime Long Last update timestamp, in milliseconds.
userId String Always null. Get owner information from owner.
partitionMapping Object Partition mapping configuration. Relevant only for acceleration scenarios. null when not configured.
approvalMutationStatus String Dataset change approval status, such as CREATE, UPDATE, or DELETE. Present only when approval is enabled.
approvalAuthorityStatus String Dataset permission change approval status. Present only when approval is enabled.
available Integer Dataset availability status. 0 means available; non-zero means unavailable, for example because the data source connection is abnormal.
mutationApprovalPendingOperation String Pending approval operation type. "NONE" when there is no pending approval. Meaningful only when approval is enabled.
relatedDatasetCount Integer Number of related datasets. May be null.
status String Dataset status, such as "ONLINE".
tags Array Tags bound to the dataset. Useful only for related APIs that return associated datasets based on a specified dataset.
datasetMode String Dataset mode, either "STANDARD" for a standard wide table or vertical table mode.
identifierColumn String Identifier column for vertical table mode. null in standard mode.
parentDatasetName String Parent dataset name in shared dataset scenarios. null for regular datasets.
identifierValue String Identifier used by a child dataset. Useful only in vertical table mode.
identifierValues Array Identifier value list for vertical table mode. null in standard mode.
owner Object Dataset owner, including userId and nickname.

3. partitionMapping Parameter Description

Parameter Type Required Description Example / Enum Value
partitionColumnName String Yes Partition column field name. "dt"
sourceTableGuid String No GUID of the source table referenced in SQL. "fl_sr1.default_catalog.aloudatacan.fly_order_partition"
sourceColumnName String No Partition field name of the source table referenced in SQL. "dt"
dateGranularity String No Date partition granularity. "DAY"
columnPartitionMappings Object[] No Column-level partition mapping configuration. See the columnPartitionMappings parameter description.

4. columnPartitionMappings Parameter Description

Parameter Type Required Description Example / Enum Value
columnName String Yes Name of the regular date field.
interval Integer Yes Offset value. 1
sign String Yes Offset sign. POSITIVE means positive; NEGATIVE means negative. POSITIVE

5. owner Parameter Description

Parameter Type Description
userId String Owner user ID.
nickname String Owner nickname.

6. sourceInfo Parameter Description

Parameter Type Required Description
content String Yes Full data source path, such as jmsr.`default_catalog.partition_test`.p_order.
type String Yes Resource type.
datasourceItems Object[] Yes Data source engine information.

7. columns Parameter Description

Parameter Type Required Description
name String Yes Column name, such as "order_id".
originDataType String Yes Original data type enum, such as INT, DATE, VARCHAR, or DOUBLE.
type String Yes Column role: DIMENSION or MEASURE.
isPartition Boolean No Whether the column is a partition column. Partition columns such as dt are true.
dimension Object No Dimension-specific attributes, including fields such as originalDataType. Present when type=DIMENSION.

8. relationFroms Parameter Description

Parameter Type Required Description
id Integer Yes Relationship ID.
type String Yes Relationship type, such as "MANY_TO_ONE".
srcDatasetName String Yes Source dataset, such as "p_express".
dstDatasetName String Yes Destination dataset, such as "p_order".
relationConditions Object[] Yes Relationship conditions. Each item includes fields such as srcExpr, for example "['p_express'/'order_id']", and dstExpr.

9. relations[]

Field Type Description
type String Relationship type enum.
srcDatasetName String Source dataset name, namely the current dataset.
dstDatasetName String Destination dataset name.
relationConditions Array Relationship condition list. See below.
relationName String Relationship name.
relationDisplayName String Relationship display name.
filters Array Relationship filter condition expression list.
srcDatasetDisplayName String Source dataset display name, used only for display.
dstDatasetDisplayName String Destination dataset display name, used only for display.
constraintSetting String Constraint setting.

10. userPrivilegeResultDTO Parameter Description

Parameter Type Required Description Example / Enum Value
resourceDTO Object Yes Associated resource information. See the child table.
cloudAccount String Yes Cloud account identifier. "3itf4r1k2xvk@aloudata.com"
accountType String Yes Account type. "USER"
authorityRole String Yes User permission role. "OWNER"
grantTime Long No Permission grant timestamp, in milliseconds. null
expiredTime Long No Permission expiration timestamp, in milliseconds. null
authoritySource String Yes Permission source. "DIRECT"
canCreateResources String[] Yes List of resource types that can be created. ["CATEGORY_METRIC", "DATASET"]
canEdit Boolean Yes Whether the user has edit permission. true
canDelete Boolean Yes Whether the user has delete permission. true
canUsage Boolean Yes Whether the user has usage permission. true
canAuth Boolean Yes Whether the user has authorization permission. true
canTransfer Boolean Yes Whether the user has transfer permission. true
authRoleList String[] Yes List of roles that can be granted. ["ADMIN", "USAGER"]
resourceType String Yes Resource type. Fixed value. "DATASET"
resourceId String Yes Resource ID, duplicated from the top-level resourceId. "p_order"

10. resourceDTO Parameter Description

Parameter Type Required Description
resourceType String Yes Same as the top-level resourceType.
resourceId String Yes Same as the top-level resourceId.
resourceName String No Resource display name.

Request Example

curl --location --request GET 'http://127.0.0.1:8083/anymetrics/api/v1/dataset/info?name=p_order' \
--header 'auth-type: UID' \
--header 'tenant-id: tn_19487697' \
--header 'auth-value: 463663891121963008' \
--header 'Accept-Language: zh-CN' \

Response Content

{
    "data": {
        "name": "p_order",
        "displayName": "p_order",
        "description": "",
        "sourceInfo": {
            "id": null,
            "name": "p_order",
            "displayName": "p_order",
            "columns": [
                {
                    "name": "dt",
                    "displayName": null,
                    "description": "dt",
                    "originDataType": "DATE",
                    "isPartition": true,
                    "isFirstPartition": null
                },
                {
                    "name": "order_id",
                    "displayName": null,
                    "description": "order_id",
                    "originDataType": "INT",
                    "isPartition": false,
                    "isFirstPartition": null
                },
                {
                    "name": "order_amt",
                    "displayName": null,
                    "description": "order_amt",
                    "originDataType": "DOUBLE",
                    "isPartition": false,
                    "isFirstPartition": null
                },
                {
                    "name": "order_date",
                    "displayName": null,
                    "description": "order_date",
                    "originDataType": "DATE",
                    "isPartition": false,
                    "isFirstPartition": null
                },
                {
                    "name": "description",
                    "displayName": null,
                    "description": "description",
                    "originDataType": "VARCHAR",
                    "isPartition": false,
                    "isFirstPartition": null
                },
                {
                    "name": "user_id",
                    "displayName": null,
                    "description": "user_id",
                    "originDataType": "INT",
                    "isPartition": false,
                    "isFirstPartition": null
                },
                {
                    "name": "product_id",
                    "displayName": null,
                    "description": "product_id",
                    "originDataType": "INT",
                    "isPartition": false,
                    "isFirstPartition": null
                },
                {
                    "name": "seller_id",
                    "displayName": null,
                    "description": "seller_id",
                    "originDataType": "INT",
                    "isPartition": false,
                    "isFirstPartition": null
                },
                {
                    "name": "region",
                    "displayName": null,
                    "description": "region",
                    "originDataType": "VARCHAR",
                    "isPartition": false,
                    "isFirstPartition": null
                }
            ],
            "description": "",
            "content": "jmsr.`default_catalog.partition_test`.p_order",
            "type": "TABLE",
            "catalogs": null,
            "datasourceItems": [
                {
                    "id": "jmsr",
                    "name": "jmsR",
                    "queryEngineType": "STARROCKS"
                }
            ],
            "resourceType": "TABLE",
            "resourceId": "jmsr.`default_catalog.partition_test`.p_order"
        },
        "columns": [
            {
                "name": "dt",
                "displayName": "dt",
                "description": "dt",
                "type": "DIMENSION",
                "isHidden": false,
                "originDataType": "DATE",
                "isPartition": true,
                "isFirstPartition": null,
                "isPrimaryKey": null,
                "sourceColumn": "dt",
                "ast": {
                    "extType": null,
                    "type": "NAME_REF",
                    "path": [
                        "p_order",
                        "dt"
                    ],
                    "op": null,
                    "args": null,
                    "val": null,
                    "x": null,
                    "y": null,
                    "formula": null,
                    "partitionList": null,
                    "orderList": null,
                    "isDesc": null,
                    "position": null
                },
                "expr": "['p_order'/'dt']",
                "dimension": {
                    "name": "80a2a1257a78445d873b64c2c67ec76e",
                    "displayName": "dt",
                    "ownerId": "463663891121963008",
                    "originalDataType": "DATE"
                }
            },
            {
                "name": "order_id",
                "displayName": "order_id",
                "description": "order_id",
                "type": "MEASURE",
                "isHidden": false,
                "originDataType": "INT",
                "isPartition": null,
                "isFirstPartition": null,
                "isPrimaryKey": null,
                "sourceColumn": "order_id",
                "ast": {
                    "extType": null,
                    "type": "NAME_REF",
                    "path": [
                        "p_order",
                        "order_id"
                    ],
                    "op": null,
                    "args": null,
                    "val": null,
                    "x": null,
                    "y": null,
                    "formula": null,
                    "partitionList": null,
                    "orderList": null,
                    "isDesc": null,
                    "position": null
                },
                "expr": "['p_order'/'order_id']",
                "dimension": null
            },
            {
                "name": "order_amt",
                "displayName": "order_amt",
                "description": "order_amt",
                "type": "MEASURE",
                "isHidden": false,
                "originDataType": "DOUBLE",
                "isPartition": null,
                "isFirstPartition": null,
                "isPrimaryKey": null,
                "sourceColumn": "order_amt",
                "ast": {
                    "extType": null,
                    "type": "NAME_REF",
                    "path": [
                        "p_order",
                        "order_amt"
                    ],
                    "op": null,
                    "args": null,
                    "val": null,
                    "x": null,
                    "y": null,
                    "formula": null,
                    "partitionList": null,
                    "orderList": null,
                    "isDesc": null,
                    "position": null
                },
                "expr": "['p_order'/'order_amt']",
                "dimension": null
            },
            {
                "name": "order_date",
                "displayName": "order_date",
                "description": "order_date",
                "type": "DIMENSION",
                "isHidden": false,
                "originDataType": "DATE",
                "isPartition": null,
                "isFirstPartition": null,
                "isPrimaryKey": null,
                "sourceColumn": "order_date",
                "ast": {
                    "extType": null,
                    "type": "NAME_REF",
                    "path": [
                        "p_order",
                        "order_date"
                    ],
                    "op": null,
                    "args": null,
                    "val": null,
                    "x": null,
                    "y": null,
                    "formula": null,
                    "partitionList": null,
                    "orderList": null,
                    "isDesc": null,
                    "position": null
                },
                "expr": "['p_order'/'order_date']",
                "dimension": {
                    "name": "ad1bac4b3d4a458ab9700dc15934236e",
                    "displayName": "order_date",
                    "ownerId": "463663891121963008",
                    "originalDataType": "DATE"
                }
            },
            {
                "name": "description",
                "displayName": "description",
                "description": "description",
                "type": "DIMENSION",
                "isHidden": false,
                "originDataType": "VARCHAR",
                "isPartition": null,
                "isFirstPartition": null,
                "isPrimaryKey": null,
                "sourceColumn": "description",
                "ast": {
                    "extType": null,
                    "type": "NAME_REF",
                    "path": [
                        "p_order",
                        "description"
                    ],
                    "op": null,
                    "args": null,
                    "val": null,
                    "x": null,
                    "y": null,
                    "formula": null,
                    "partitionList": null,
                    "orderList": null,
                    "isDesc": null,
                    "position": null
                },
                "expr": "['p_order'/'description']",
                "dimension": {
                    "name": "7505fc7590b840378490ccc115e6b783",
                    "displayName": "description",
                    "ownerId": "463663891121963008",
                    "originalDataType": "VARCHAR"
                }
            },
            {
                "name": "user_id",
                "displayName": "user_id",
                "description": "user_id",
                "type": "MEASURE",
                "isHidden": false,
                "originDataType": "INT",
                "isPartition": null,
                "isFirstPartition": null,
                "isPrimaryKey": null,
                "sourceColumn": "user_id",
                "ast": {
                    "extType": null,
                    "type": "NAME_REF",
                    "path": [
                        "p_order",
                        "user_id"
                    ],
                    "op": null,
                    "args": null,
                    "val": null,
                    "x": null,
                    "y": null,
                    "formula": null,
                    "partitionList": null,
                    "orderList": null,
                    "isDesc": null,
                    "position": null
                },
                "expr": "['p_order'/'user_id']",
                "dimension": null
            },
            {
                "name": "product_id",
                "displayName": "product_id",
                "description": "product_id",
                "type": "MEASURE",
                "isHidden": false,
                "originDataType": "INT",
                "isPartition": null,
                "isFirstPartition": null,
                "isPrimaryKey": null,
                "sourceColumn": "product_id",
                "ast": {
                    "extType": null,
                    "type": "NAME_REF",
                    "path": [
                        "p_order",
                        "product_id"
                    ],
                    "op": null,
                    "args": null,
                    "val": null,
                    "x": null,
                    "y": null,
                    "formula": null,
                    "partitionList": null,
                    "orderList": null,
                    "isDesc": null,
                    "position": null
                },
                "expr": "['p_order'/'product_id']",
                "dimension": null
            },
            {
                "name": "seller_id",
                "displayName": "seller_id",
                "description": "seller_id",
                "type": "MEASURE",
                "isHidden": false,
                "originDataType": "INT",
                "isPartition": null,
                "isFirstPartition": null,
                "isPrimaryKey": null,
                "sourceColumn": "seller_id",
                "ast": {
                    "extType": null,
                    "type": "NAME_REF",
                    "path": [
                        "p_order",
                        "seller_id"
                    ],
                    "op": null,
                    "args": null,
                    "val": null,
                    "x": null,
                    "y": null,
                    "formula": null,
                    "partitionList": null,
                    "orderList": null,
                    "isDesc": null,
                    "position": null
                },
                "expr": "['p_order'/'seller_id']",
                "dimension": null
            },
            {
                "name": "region",
                "displayName": "region",
                "description": "region",
                "type": "DIMENSION",
                "isHidden": false,
                "originDataType": "VARCHAR",
                "isPartition": null,
                "isFirstPartition": null,
                "isPrimaryKey": null,
                "sourceColumn": "region",
                "ast": {
                    "extType": null,
                    "type": "NAME_REF",
                    "path": [
                        "p_order",
                        "region"
                    ],
                    "op": null,
                    "args": null,
                    "val": null,
                    "x": null,
                    "y": null,
                    "formula": null,
                    "partitionList": null,
                    "orderList": null,
                    "isDesc": null,
                    "position": null
                },
                "expr": "['p_order'/'region']",
                "dimension": {
                    "name": "5f6066691dac4aa480c147565648254c",
                    "displayName": "region",
                    "ownerId": "463663891121963008",
                    "originalDataType": "VARCHAR"
                }
            }
        ],
        "defColumns": [
            {
                "name": "dt",
                "displayName": "dt",
                "description": "dt",
                "type": "DIMENSION",
                "isHidden": false,
                "originDataType": "DATE",
                "isPartition": true,
                "isFirstPartition": null,
                "isPrimaryKey": null,
                "sourceColumn": "dt",
                "ast": {
                    "extType": null,
                    "type": "NAME_REF",
                    "path": [
                        "p_order",
                        "dt"
                    ],
                    "op": null,
                    "args": null,
                    "val": null,
                    "x": null,
                    "y": null,
                    "formula": null,
                    "partitionList": null,
                    "orderList": null,
                    "isDesc": null,
                    "position": null
                },
                "expr": "['p_order'/'dt']",
                "dimension": {
                    "name": "80a2a1257a78445d873b64c2c67ec76e",
                    "displayName": "dt",
                    "ownerId": "463663891121963008",
                    "originalDataType": "DATE"
                }
            },
            {
                "name": "order_id",
                "displayName": "order_id",
                "description": "order_id",
                "type": "MEASURE",
                "isHidden": false,
                "originDataType": "INT",
                "isPartition": null,
                "isFirstPartition": null,
                "isPrimaryKey": null,
                "sourceColumn": "order_id",
                "ast": {
                    "extType": null,
                    "type": "NAME_REF",
                    "path": [
                        "p_order",
                        "order_id"
                    ],
                    "op": null,
                    "args": null,
                    "val": null,
                    "x": null,
                    "y": null,
                    "formula": null,
                    "partitionList": null,
                    "orderList": null,
                    "isDesc": null,
                    "position": null
                },
                "expr": "['p_order'/'order_id']",
                "dimension": null
            },
            {
                "name": "order_amt",
                "displayName": "order_amt",
                "description": "order_amt",
                "type": "MEASURE",
                "isHidden": false,
                "originDataType": "DOUBLE",
                "isPartition": null,
                "isFirstPartition": null,
                "isPrimaryKey": null,
                "sourceColumn": "order_amt",
                "ast": {
                    "extType": null,
                    "type": "NAME_REF",
                    "path": [
                        "p_order",
                        "order_amt"
                    ],
                    "op": null,
                    "args": null,
                    "val": null,
                    "x": null,
                    "y": null,
                    "formula": null,
                    "partitionList": null,
                    "orderList": null,
                    "isDesc": null,
                    "position": null
                },
                "expr": "['p_order'/'order_amt']",
                "dimension": null
            },
            {
                "name": "order_date",
                "displayName": "order_date",
                "description": "order_date",
                "type": "DIMENSION",
                "isHidden": false,
                "originDataType": "DATE",
                "isPartition": null,
                "isFirstPartition": null,
                "isPrimaryKey": null,
                "sourceColumn": "order_date",
                "ast": {
                    "extType": null,
                    "type": "NAME_REF",
                    "path": [
                        "p_order",
                        "order_date"
                    ],
                    "op": null,
                    "args": null,
                    "val": null,
                    "x": null,
                    "y": null,
                    "formula": null,
                    "partitionList": null,
                    "orderList": null,
                    "isDesc": null,
                    "position": null
                },
                "expr": "['p_order'/'order_date']",
                "dimension": {
                    "name": "ad1bac4b3d4a458ab9700dc15934236e",
                    "displayName": "order_date",
                    "ownerId": "463663891121963008",
                    "originalDataType": "DATE"
                }
            },
            {
                "name": "description",
                "displayName": "description",
                "description": "description",
                "type": "DIMENSION",
                "isHidden": false,
                "originDataType": "VARCHAR",
                "isPartition": null,
                "isFirstPartition": null,
                "isPrimaryKey": null,
                "sourceColumn": "description",
                "ast": {
                    "extType": null,
                    "type": "NAME_REF",
                    "path": [
                        "p_order",
                        "description"
                    ],
                    "op": null,
                    "args": null,
                    "val": null,
                    "x": null,
                    "y": null,
                    "formula": null,
                    "partitionList": null,
                    "orderList": null,
                    "isDesc": null,
                    "position": null
                },
                "expr": "['p_order'/'description']",
                "dimension": {
                    "name": "7505fc7590b840378490ccc115e6b783",
                    "displayName": "description",
                    "ownerId": "463663891121963008",
                    "originalDataType": "VARCHAR"
                }
            },
            {
                "name": "user_id",
                "displayName": "user_id",
                "description": "user_id",
                "type": "MEASURE",
                "isHidden": false,
                "originDataType": "INT",
                "isPartition": null,
                "isFirstPartition": null,
                "isPrimaryKey": null,
                "sourceColumn": "user_id",
                "ast": {
                    "extType": null,
                    "type": "NAME_REF",
                    "path": [
                        "p_order",
                        "user_id"
                    ],
                    "op": null,
                    "args": null,
                    "val": null,
                    "x": null,
                    "y": null,
                    "formula": null,
                    "partitionList": null,
                    "orderList": null,
                    "isDesc": null,
                    "position": null
                },
                "expr": "['p_order'/'user_id']",
                "dimension": null
            },
            {
                "name": "product_id",
                "displayName": "product_id",
                "description": "product_id",
                "type": "MEASURE",
                "isHidden": false,
                "originDataType": "INT",
                "isPartition": null,
                "isFirstPartition": null,
                "isPrimaryKey": null,
                "sourceColumn": "product_id",
                "ast": {
                    "extType": null,
                    "type": "NAME_REF",
                    "path": [
                        "p_order",
                        "product_id"
                    ],
                    "op": null,
                    "args": null,
                    "val": null,
                    "x": null,
                    "y": null,
                    "formula": null,
                    "partitionList": null,
                    "orderList": null,
                    "isDesc": null,
                    "position": null
                },
                "expr": "['p_order'/'product_id']",
                "dimension": null
            },
            {
                "name": "seller_id",
                "displayName": "seller_id",
                "description": "seller_id",
                "type": "MEASURE",
                "isHidden": false,
                "originDataType": "INT",
                "isPartition": null,
                "isFirstPartition": null,
                "isPrimaryKey": null,
                "sourceColumn": "seller_id",
                "ast": {
                    "extType": null,
                    "type": "NAME_REF",
                    "path": [
                        "p_order",
                        "seller_id"
                    ],
                    "op": null,
                    "args": null,
                    "val": null,
                    "x": null,
                    "y": null,
                    "formula": null,
                    "partitionList": null,
                    "orderList": null,
                    "isDesc": null,
                    "position": null
                },
                "expr": "['p_order'/'seller_id']",
                "dimension": null
            },
            {
                "name": "region",
                "displayName": "region",
                "description": "region",
                "type": "DIMENSION",
                "isHidden": false,
                "originDataType": "VARCHAR",
                "isPartition": null,
                "isFirstPartition": null,
                "isPrimaryKey": null,
                "sourceColumn": "region",
                "ast": {
                    "extType": null,
                    "type": "NAME_REF",
                    "path": [
                        "p_order",
                        "region"
                    ],
                    "op": null,
                    "args": null,
                    "val": null,
                    "x": null,
                    "y": null,
                    "formula": null,
                    "partitionList": null,
                    "orderList": null,
                    "isDesc": null,
                    "position": null
                },
                "expr": "['p_order'/'region']",
                "dimension": {
                    "name": "5f6066691dac4aa480c147565648254c",
                    "displayName": "region",
                    "ownerId": "463663891121963008",
                    "originalDataType": "VARCHAR"
                }
            }
        ],
        "relations": [],
        "relationFroms": [
            {
                "id": "438",
                "type": "MANY_TO_ONE",
                "srcDatasetName": "p_express",
                "srcDatasetDisplayName": null,
                "dstDatasetName": "p_order",
                "dstDatasetDisplayName": null,
                "relationConditions": [
                    {
                        "srcAst": "{\"path\":[\"p_express\",\"order_id\"],\"type\":\"NAME_REF\"}",
                        "srcExpr": "['tn_19487697_jmsr.default.p_express'/'order_id']",
                        "dstAst": "{\"path\":[\"p_order\",\"order_id\"],\"type\":\"NAME_REF\"}",
                        "dstExpr": "['tn_19487697_jmsr.default.p_order'/'order_id']"
                    }
                ],
                "partitionConfig": null,
                "filters": "null",
                "userId": "463663891121963008",
                "createTime": 1731059622612,
                "updateTime": 1731059622612
            }
        ],
        "resourceId": "p_order",
        "userPrivilegeResultDTO": {
            "id": null,
            "resourceDTO": {
                "resourceType": "DATASET",
                "resourceId": "p_order",
                "resourceName": null
            },
            "cloudAccount": "3itf4r1k2xvk@aloudata.com",
            "accountType": "USER",
            "authorityRole": "OWNER",
            "grantTime": null,
            "expiredTime": null,
            "authoritySource": "DIRECT",
            "extendResourceDTO": null,
            "canCreateResources": [
                "CATEGORY_METRIC",
                "CATEGORY_DATASET",
                "METRIC",
                "DATASET",
                "RESULT_PLAN",
                "CATEGORY_RESULT_PLAN"
            ],
            "canEdit": true,
            "canDelete": true,
            "canUsage": true,
            "canAuth": true,
            "canTransfer": true,
            "authRoleList": [
                "ADMIN",
                "USAGER"
            ],
            "resourceType": "DATASET",
            "resourceId": "p_order"
        },
        "createTime": 1721567197373,
        "updateTime": 1739931491771,
        "userId": null,
        "partitionMapping": {
            "partitionColumnName": "dt",
            "sourceTableGuid": null,
            "sourceColumnName": null,
            "dateGranularity": "DAY",
            "columnPartitionMappings": []
        },
        "approvalMutationStatus": null,
        "approvalAuthorityStatus": null,
        "owner": {
            "userId": "463663891121963008",
            "nickname": "CAN_A"
        }
    },
    "success": true,
    "code": "200",
    "errorMsg": null,
    "detailErrorMsg": null,
    "traceId": "e449a5b9f9f14aa1915d11bf1e158409.188.17524622866271699"
}