@alicloud/dataworks-public20240518 9.10.2 → 9.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +6 -6
- package/dist/client.js +6 -6
- package/dist/models/Catalog.d.ts +28 -12
- package/dist/models/Catalog.js.map +1 -1
- package/dist/models/Column.d.ts +14 -10
- package/dist/models/Column.js.map +1 -1
- package/dist/models/LineageEntity.d.ts +1 -1
- package/dist/models/ListLineagesRequest.d.ts +14 -7
- package/dist/models/ListLineagesRequest.js.map +1 -1
- package/dist/models/ListLineagesResponseBody.d.ts +3 -3
- package/dist/models/Table.d.ts +29 -24
- package/dist/models/Table.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +6 -6
- package/src/models/Catalog.ts +28 -12
- package/src/models/Column.ts +14 -10
- package/src/models/LineageEntity.ts +1 -1
- package/src/models/ListLineagesRequest.ts +14 -7
- package/src/models/ListLineagesResponseBody.ts +3 -3
- package/src/models/Table.ts +29 -24
package/dist/client.d.ts
CHANGED
|
@@ -3132,7 +3132,7 @@ export default class Client extends OpenApi {
|
|
|
3132
3132
|
* Retrieves the details of a specified column in a DataWorks Data Map table.
|
|
3133
3133
|
*
|
|
3134
3134
|
* @remarks
|
|
3135
|
-
* 1. You must purchase DataWorks Basic Edition or a
|
|
3135
|
+
* 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
|
|
3136
3136
|
*
|
|
3137
3137
|
* @param request - GetColumnRequest
|
|
3138
3138
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3143,7 +3143,7 @@ export default class Client extends OpenApi {
|
|
|
3143
3143
|
* Retrieves the details of a specified column in a DataWorks Data Map table.
|
|
3144
3144
|
*
|
|
3145
3145
|
* @remarks
|
|
3146
|
-
* 1. You must purchase DataWorks Basic Edition or a
|
|
3146
|
+
* 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
|
|
3147
3147
|
*
|
|
3148
3148
|
* @param request - GetColumnRequest
|
|
3149
3149
|
* @returns GetColumnResponse
|
|
@@ -4865,7 +4865,7 @@ export default class Client extends OpenApi {
|
|
|
4865
4865
|
* Queries the columns of a specified table in DataWorks Data Map.
|
|
4866
4866
|
*
|
|
4867
4867
|
* @remarks
|
|
4868
|
-
* 1. You must purchase DataWorks Basic Edition or
|
|
4868
|
+
* 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
|
|
4869
4869
|
*
|
|
4870
4870
|
* @param request - ListColumnsRequest
|
|
4871
4871
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4876,7 +4876,7 @@ export default class Client extends OpenApi {
|
|
|
4876
4876
|
* Queries the columns of a specified table in DataWorks Data Map.
|
|
4877
4877
|
*
|
|
4878
4878
|
* @remarks
|
|
4879
|
-
* 1. You must purchase DataWorks Basic Edition or
|
|
4879
|
+
* 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
|
|
4880
4880
|
*
|
|
4881
4881
|
* @param request - ListColumnsRequest
|
|
4882
4882
|
* @returns ListColumnsResponse
|
|
@@ -5848,7 +5848,7 @@ export default class Client extends OpenApi {
|
|
|
5848
5848
|
*/
|
|
5849
5849
|
listLineageRelationships(request: $_model.ListLineageRelationshipsRequest): Promise<$_model.ListLineageRelationshipsResponse>;
|
|
5850
5850
|
/**
|
|
5851
|
-
* Queries the upstream and downstream lineage entities
|
|
5851
|
+
* Queries the upstream and downstream lineage entities for a specified entity in Data Map, with an option to include detailed lineage relationship information.
|
|
5852
5852
|
*
|
|
5853
5853
|
* @remarks
|
|
5854
5854
|
* 1. You must purchase DataWorks Standard Edition or a more advanced edition to use this operation.
|
|
@@ -5860,7 +5860,7 @@ export default class Client extends OpenApi {
|
|
|
5860
5860
|
*/
|
|
5861
5861
|
listLineagesWithOptions(request: $_model.ListLineagesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLineagesResponse>;
|
|
5862
5862
|
/**
|
|
5863
|
-
* Queries the upstream and downstream lineage entities
|
|
5863
|
+
* Queries the upstream and downstream lineage entities for a specified entity in Data Map, with an option to include detailed lineage relationship information.
|
|
5864
5864
|
*
|
|
5865
5865
|
* @remarks
|
|
5866
5866
|
* 1. You must purchase DataWorks Standard Edition or a more advanced edition to use this operation.
|
package/dist/client.js
CHANGED
|
@@ -8388,7 +8388,7 @@ class Client extends openapi_core_1.default {
|
|
|
8388
8388
|
* Retrieves the details of a specified column in a DataWorks Data Map table.
|
|
8389
8389
|
*
|
|
8390
8390
|
* @remarks
|
|
8391
|
-
* 1. You must purchase DataWorks Basic Edition or a
|
|
8391
|
+
* 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
|
|
8392
8392
|
*
|
|
8393
8393
|
* @param request - GetColumnRequest
|
|
8394
8394
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8417,7 +8417,7 @@ class Client extends openapi_core_1.default {
|
|
|
8417
8417
|
* Retrieves the details of a specified column in a DataWorks Data Map table.
|
|
8418
8418
|
*
|
|
8419
8419
|
* @remarks
|
|
8420
|
-
* 1. You must purchase DataWorks Basic Edition or a
|
|
8420
|
+
* 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
|
|
8421
8421
|
*
|
|
8422
8422
|
* @param request - GetColumnRequest
|
|
8423
8423
|
* @returns GetColumnResponse
|
|
@@ -12221,7 +12221,7 @@ class Client extends openapi_core_1.default {
|
|
|
12221
12221
|
* Queries the columns of a specified table in DataWorks Data Map.
|
|
12222
12222
|
*
|
|
12223
12223
|
* @remarks
|
|
12224
|
-
* 1. You must purchase DataWorks Basic Edition or
|
|
12224
|
+
* 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
|
|
12225
12225
|
*
|
|
12226
12226
|
* @param request - ListColumnsRequest
|
|
12227
12227
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12250,7 +12250,7 @@ class Client extends openapi_core_1.default {
|
|
|
12250
12250
|
* Queries the columns of a specified table in DataWorks Data Map.
|
|
12251
12251
|
*
|
|
12252
12252
|
* @remarks
|
|
12253
|
-
* 1. You must purchase DataWorks Basic Edition or
|
|
12253
|
+
* 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
|
|
12254
12254
|
*
|
|
12255
12255
|
* @param request - ListColumnsRequest
|
|
12256
12256
|
* @returns ListColumnsResponse
|
|
@@ -14790,7 +14790,7 @@ class Client extends openapi_core_1.default {
|
|
|
14790
14790
|
return await this.listLineageRelationshipsWithOptions(request, runtime);
|
|
14791
14791
|
}
|
|
14792
14792
|
/**
|
|
14793
|
-
* Queries the upstream and downstream lineage entities
|
|
14793
|
+
* Queries the upstream and downstream lineage entities for a specified entity in Data Map, with an option to include detailed lineage relationship information.
|
|
14794
14794
|
*
|
|
14795
14795
|
* @remarks
|
|
14796
14796
|
* 1. You must purchase DataWorks Standard Edition or a more advanced edition to use this operation.
|
|
@@ -14820,7 +14820,7 @@ class Client extends openapi_core_1.default {
|
|
|
14820
14820
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListLineagesResponse({}));
|
|
14821
14821
|
}
|
|
14822
14822
|
/**
|
|
14823
|
-
* Queries the upstream and downstream lineage entities
|
|
14823
|
+
* Queries the upstream and downstream lineage entities for a specified entity in Data Map, with an option to include detailed lineage relationship information.
|
|
14824
14824
|
*
|
|
14825
14825
|
* @remarks
|
|
14826
14826
|
* 1. You must purchase DataWorks Standard Edition or a more advanced edition to use this operation.
|
package/dist/models/Catalog.d.ts
CHANGED
|
@@ -5,32 +5,41 @@ export declare class Catalog extends $dara.Model {
|
|
|
5
5
|
* The comment.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
|
-
*
|
|
8
|
+
* Default catalog
|
|
9
9
|
*/
|
|
10
10
|
comment?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The creation time.
|
|
13
|
+
* The creation time. The value is a millisecond-level timestamp.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
|
-
*
|
|
16
|
+
* 1725330777000
|
|
17
17
|
*/
|
|
18
18
|
createTime?: number;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* ID
|
|
21
|
+
* The ID of the data catalog entity. Currently, the DLF and StarRocks types are supported. For more information, see [Concepts of metadata entities](https://help.aliyun.com/document_detail/2880092.html).
|
|
22
|
+
*
|
|
23
|
+
* - For the DLF type, the format is `dlf-catalog::catalog_id`.
|
|
24
|
+
*
|
|
25
|
+
* - For the StarRocks type, the format is `starrocks-catalog:(instance_id|encoded_jdbc_url):catalog_name`.
|
|
26
|
+
*
|
|
27
|
+
* > Where:
|
|
28
|
+
* `catalog_id`: The DLF catalog ID.
|
|
29
|
+
* `instance_id`: The instance ID, which is required when the data source is registered in instance mode.
|
|
30
|
+
* `encoded_jdbc_url`: the URL-encoded JDBC connection string, which is required when the data source is registered by using a connection string.
|
|
31
|
+
* `catalog_name`: the name of the StarRocks catalog.
|
|
22
32
|
*
|
|
23
33
|
* @example
|
|
24
|
-
* dlf-catalog
|
|
25
|
-
* starrocks-catalog:c-abc123xxx:default_catalog
|
|
34
|
+
* dlf-catalog::catalog1
|
|
26
35
|
*/
|
|
27
36
|
id?: string;
|
|
28
37
|
/**
|
|
29
38
|
* @remarks
|
|
30
|
-
* The modification time.
|
|
39
|
+
* The modification time. The value is a millisecond-level timestamp.
|
|
31
40
|
*
|
|
32
41
|
* @example
|
|
33
|
-
*
|
|
42
|
+
* 1725330777000
|
|
34
43
|
*/
|
|
35
44
|
modifyTime?: number;
|
|
36
45
|
/**
|
|
@@ -38,24 +47,31 @@ export declare class Catalog extends $dara.Model {
|
|
|
38
47
|
* The name.
|
|
39
48
|
*
|
|
40
49
|
* @example
|
|
41
|
-
*
|
|
50
|
+
* catalog1
|
|
42
51
|
*/
|
|
43
52
|
name?: string;
|
|
44
53
|
/**
|
|
45
54
|
* @remarks
|
|
46
55
|
* The ID of the parent entity.
|
|
47
56
|
*
|
|
57
|
+
* - For the DLF type, the format of `ParentMetaEntityId` is `dlf`.
|
|
58
|
+
*
|
|
59
|
+
* - For the StarRocks type, the format of `ParentMetaEntityId` is `starrocks:(instance_id|encoded_jdbc_url)`.
|
|
60
|
+
*
|
|
61
|
+
* > Where:
|
|
62
|
+
* `instance_id`: The instance ID, which is required when the data source is registered in instance mode.
|
|
63
|
+
* `encoded_jdbc_url`: the URL-encoded JDBC connection string, which is required when the data source is registered by using a connection string.
|
|
64
|
+
*
|
|
48
65
|
* @example
|
|
49
66
|
* dlf
|
|
50
|
-
* starrocks:c-abc123xxx
|
|
51
67
|
*/
|
|
52
68
|
parentMetaEntityId?: string;
|
|
53
69
|
/**
|
|
54
70
|
* @remarks
|
|
55
|
-
* The type.
|
|
71
|
+
* The catalog type. The valid values depend on the metadata collector type.
|
|
56
72
|
*
|
|
57
73
|
* @example
|
|
58
|
-
*
|
|
74
|
+
* HIVE
|
|
59
75
|
*/
|
|
60
76
|
type?: string;
|
|
61
77
|
static names(): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Catalog.js","sourceRoot":"","sources":["../../src/models/Catalog.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,OAAQ,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"Catalog.js","sourceRoot":"","sources":["../../src/models/Catalog.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,OAAQ,SAAQ,KAAK,CAAC,KAAK;IA2EtC,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,EAAE,EAAE,IAAI;YACR,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;YACZ,kBAAkB,EAAE,oBAAoB;YACxC,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,EAAE,EAAE,QAAQ;YACZ,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,QAAQ;YACd,kBAAkB,EAAE,QAAQ;YAC5B,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1GD,0BA0GC"}
|
package/dist/models/Column.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare class ColumnBusinessMetadata extends $dara.Model {
|
|
|
11
11
|
};
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
* The business description of the column.
|
|
14
|
+
* The business description of the column. This is supported only by MaxCompute, HMS (EMR cluster), and DLF types.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* Business description of Column 1
|
|
@@ -63,7 +63,7 @@ export declare class Column extends $dara.Model {
|
|
|
63
63
|
comment?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
*
|
|
66
|
+
* Indicates whether the column is a foreign key. This is supported only by the MaxCompute type.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* false
|
|
@@ -73,13 +73,13 @@ export declare class Column extends $dara.Model {
|
|
|
73
73
|
* @remarks
|
|
74
74
|
* The ID. For more information, see [Metadata entity concepts](https://help.aliyun.com/document_detail/2880092.html).
|
|
75
75
|
*
|
|
76
|
-
* The format is `${EntityType}:${Instance ID or URL-encoded URL}:${
|
|
76
|
+
* The format is `${EntityType}:${Instance ID or URL-encoded URL}:${Data catalog identifier}:${Database name}:${Schema name}:${Table name}:${Column name}`. Use an empty string as a placeholder for non-existent levels.
|
|
77
77
|
*
|
|
78
|
-
* > For MaxCompute and DLF types, use an empty string as a placeholder for the instance ID. For the MaxCompute type, the database name is the MaxCompute project name. Projects with the three-tier model enabled
|
|
78
|
+
* > For MaxCompute and DLF types, use an empty string as a placeholder for the instance ID. For the MaxCompute type, the database name is the MaxCompute project name. Projects with the three-tier model enabled must provide the schema name. For projects without the three-tier model enabled, use an empty string as a placeholder for the schema name.
|
|
79
79
|
*
|
|
80
|
-
* > For the StarRocks type, the catalog
|
|
80
|
+
* > For the StarRocks type, the data catalog identifier is the catalog name. For the DLF type, the data catalog identifier is the catalog ID. Other types do not support the catalog level, and an empty string can be used as a placeholder.
|
|
81
81
|
*
|
|
82
|
-
* The
|
|
82
|
+
* The ID formats for several common types are as follows:
|
|
83
83
|
*
|
|
84
84
|
* `maxcompute-column:::project_name:[schema_name]:table_name:column_name`
|
|
85
85
|
*
|
|
@@ -97,7 +97,7 @@ export declare class Column extends $dara.Model {
|
|
|
97
97
|
* `catalog_id`: The DLF catalog ID.
|
|
98
98
|
* `project_name`: The MaxCompute project name.
|
|
99
99
|
* `database_name`: The database name.
|
|
100
|
-
* `schema_name`: The schema name. For the MaxCompute type, this is required only if the three-tier model is enabled for the project.
|
|
100
|
+
* `schema_name`: The schema name. For the MaxCompute type, this is required only if the three-tier model is enabled for the project. Otherwise, use an empty string as a placeholder.
|
|
101
101
|
* `table_name`: The table name.
|
|
102
102
|
* `column_name`: The column name.
|
|
103
103
|
*
|
|
@@ -115,7 +115,7 @@ export declare class Column extends $dara.Model {
|
|
|
115
115
|
name?: string;
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
*
|
|
118
|
+
* Indicates whether the column is a partition key.
|
|
119
119
|
*
|
|
120
120
|
* @example
|
|
121
121
|
* false
|
|
@@ -131,18 +131,22 @@ export declare class Column extends $dara.Model {
|
|
|
131
131
|
position?: number;
|
|
132
132
|
/**
|
|
133
133
|
* @remarks
|
|
134
|
-
*
|
|
134
|
+
* Indicates whether the column is a primary key. This is supported only by the MaxCompute type.
|
|
135
135
|
*
|
|
136
136
|
* @example
|
|
137
137
|
* false
|
|
138
138
|
*/
|
|
139
139
|
primaryKey?: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* @remarks
|
|
142
|
+
* The statistical metrics of the column, where the key is the metric name and the value is the statistical value in string format. Current metrics include the number of production runs in the last 30 days (prodRunCount30d) and the number of downstream dependent tasks (downstreamTaskCount30d). Metrics without statistical values are not returned.
|
|
143
|
+
*/
|
|
140
144
|
statisticsInfos?: {
|
|
141
145
|
[key: string]: string;
|
|
142
146
|
};
|
|
143
147
|
/**
|
|
144
148
|
* @remarks
|
|
145
|
-
* The ID
|
|
149
|
+
* The table ID. For more information, see the `Table` object.
|
|
146
150
|
*
|
|
147
151
|
* @example
|
|
148
152
|
* maxcompute-table:::project_name:[schema_name]:table_name
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Column.js","sourceRoot":"","sources":["../../src/models/Column.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C;GACG;AACH,MAAa,sBAAuB,SAAQ,KAAK,CAAC,KAAK;IAcrD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,kBAAkB;YACpC,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE;YAChH,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACzB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,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OAAO;YACL,gBAAgB,EAAE,sBAAsB;YACxC,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,SAAS;YACrB,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,YAAY,EAAE,SAAS;YACvB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,SAAS;YACrB,eAAe,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YAC9E,OAAO,EAAE,QAAQ;YACjB,iBAAiB,EAAE,uBAAuB;YAC1C,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,gBAAgB,IAAI,OAAQ,IAAI,CAAC,gBAAwB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACzF,IAAI,CAAC,gBAAwB,CAAC,QAAQ,EAAE,CAAC;QAC5C,CAAC;QACD,IAAG,IAAI,CAAC,eAAe,EAAE,CAAC;YACxB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAChD,CAAC;QACD,IAAG,IAAI,CAAC,iBAAiB,IAAI,OAAQ,IAAI,CAAC,iBAAyB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC3F,IAAI,CAAC,iBAAyB,CAAC,QAAQ,EAAE,CAAC;QAC7C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtKD,wBAsKC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ListLineagesRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The destination entity ID. You can refer to the table or column ID returned by the ListTables or ListColumns operation, or use a custom entity ID.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* dlf-table::catalog_id:database_name::table_name
|
|
@@ -10,7 +10,7 @@ export declare class ListLineagesRequest extends $dara.Model {
|
|
|
10
10
|
dstEntityId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The
|
|
13
|
+
* The destination entity name. Fuzzy matching is supported.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* dstName1
|
|
@@ -27,8 +27,8 @@ export declare class ListLineagesRequest extends $dara.Model {
|
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
29
|
* The sort order. Default value: Asc. Valid values:
|
|
30
|
-
* - Asc:
|
|
31
|
-
* - Desc:
|
|
30
|
+
* - Asc: Ascending order.
|
|
31
|
+
* - Desc: Descending order.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* Asc
|
|
@@ -50,10 +50,17 @@ export declare class ListLineagesRequest extends $dara.Model {
|
|
|
50
50
|
* 10
|
|
51
51
|
*/
|
|
52
52
|
pageSize?: number;
|
|
53
|
+
/**
|
|
54
|
+
* @remarks
|
|
55
|
+
* Queries the lineage relationships that take effect within the specified number of recent calendar days. Valid values: 1 to 30. For example, 1 indicates starting from midnight of the current day, and 7 indicates starting from midnight 6 days ago. If this parameter is not specified, the system filters the data based on the configured lineage validity period.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* 7
|
|
59
|
+
*/
|
|
53
60
|
recentDays?: number;
|
|
54
61
|
/**
|
|
55
62
|
* @remarks
|
|
56
|
-
* The field
|
|
63
|
+
* The sort field. Default value: Name. The entities are sorted by lineage entity name.
|
|
57
64
|
*
|
|
58
65
|
* @example
|
|
59
66
|
* Name
|
|
@@ -61,7 +68,7 @@ export declare class ListLineagesRequest extends $dara.Model {
|
|
|
61
68
|
sortBy?: string;
|
|
62
69
|
/**
|
|
63
70
|
* @remarks
|
|
64
|
-
* The
|
|
71
|
+
* The source entity ID. You can refer to the table or column ID returned by the ListTables or ListColumns operation, or use a custom entity ID.
|
|
65
72
|
*
|
|
66
73
|
* @example
|
|
67
74
|
* maxcompute-table:::project_name:[schema_name]:table_name
|
|
@@ -69,7 +76,7 @@ export declare class ListLineagesRequest extends $dara.Model {
|
|
|
69
76
|
srcEntityId?: string;
|
|
70
77
|
/**
|
|
71
78
|
* @remarks
|
|
72
|
-
* The
|
|
79
|
+
* The source entity name. Fuzzy matching is supported.
|
|
73
80
|
*
|
|
74
81
|
* @example
|
|
75
82
|
* srcName1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListLineagesRequest.js","sourceRoot":"","sources":["../../src/models/ListLineagesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ListLineagesRequest.js","sourceRoot":"","sources":["../../src/models/ListLineagesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;IAmFlD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,eAAe;YAC9B,sBAAsB,EAAE,wBAAwB;YAChD,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,eAAe;SAC/B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,aAAa,EAAE,QAAQ;YACvB,sBAAsB,EAAE,SAAS;YACjC,KAAK,EAAE,QAAQ;YACf,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,QAAQ;YACrB,aAAa,EAAE,QAAQ;SACxB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxHD,kDAwHC"}
|
|
@@ -31,12 +31,12 @@ export declare class ListLineagesResponseBodyPagingInfoLineages extends $dara.Mo
|
|
|
31
31
|
export declare class ListLineagesResponseBodyPagingInfo extends $dara.Model {
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The
|
|
34
|
+
* The lineage information list.
|
|
35
35
|
*/
|
|
36
36
|
lineages?: ListLineagesResponseBodyPagingInfoLineages[];
|
|
37
37
|
/**
|
|
38
38
|
* @remarks
|
|
39
|
-
* The page number
|
|
39
|
+
* The requested page number, which is used for pagination.
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
42
|
* 1
|
|
@@ -72,7 +72,7 @@ export declare class ListLineagesResponseBodyPagingInfo extends $dara.Model {
|
|
|
72
72
|
export declare class ListLineagesResponseBody extends $dara.Model {
|
|
73
73
|
/**
|
|
74
74
|
* @remarks
|
|
75
|
-
* The pagination
|
|
75
|
+
* The pagination information.
|
|
76
76
|
*/
|
|
77
77
|
pagingInfo?: ListLineagesResponseBodyPagingInfo;
|
|
78
78
|
/**
|
package/dist/models/Table.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare class TableBusinessMetadataCategories extends $dara.Model {
|
|
|
13
13
|
* The name.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
|
-
*
|
|
16
|
+
* Test category
|
|
17
17
|
*/
|
|
18
18
|
name?: string;
|
|
19
19
|
/**
|
|
@@ -39,6 +39,7 @@ export declare class TableBusinessMetadataExtension extends $dara.Model {
|
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
41
|
* The environment type. Valid values:
|
|
42
|
+
*
|
|
42
43
|
* - Prod: Production environment.
|
|
43
44
|
* - Dev: Development environment.
|
|
44
45
|
*
|
|
@@ -48,7 +49,7 @@ export declare class TableBusinessMetadataExtension extends $dara.Model {
|
|
|
48
49
|
envType?: string;
|
|
49
50
|
/**
|
|
50
51
|
* @remarks
|
|
51
|
-
* The number of
|
|
52
|
+
* The number of favorites.
|
|
52
53
|
*
|
|
53
54
|
* @example
|
|
54
55
|
* 0
|
|
@@ -156,14 +157,14 @@ export declare class TableBusinessMetadata extends $dara.Model {
|
|
|
156
157
|
categories?: TableBusinessMetadataCategories[][];
|
|
157
158
|
/**
|
|
158
159
|
* @remarks
|
|
159
|
-
* The custom attribute values
|
|
160
|
+
* The custom attribute values. The key is the custom attribute identifier, and the value is the list of attribute values.
|
|
160
161
|
*/
|
|
161
162
|
customAttributes?: {
|
|
162
163
|
[key: string]: string[];
|
|
163
164
|
};
|
|
164
165
|
/**
|
|
165
166
|
* @remarks
|
|
166
|
-
* The extension information.
|
|
167
|
+
* The extension information. Currently, only the MaxCompute type is supported.
|
|
167
168
|
*/
|
|
168
169
|
extension?: TableBusinessMetadataExtension;
|
|
169
170
|
/**
|
|
@@ -245,7 +246,7 @@ export declare class TableTechnicalMetadata extends $dara.Model {
|
|
|
245
246
|
};
|
|
246
247
|
/**
|
|
247
248
|
* @remarks
|
|
248
|
-
* The class used
|
|
249
|
+
* The class used by SerDe.
|
|
249
250
|
*
|
|
250
251
|
* @example
|
|
251
252
|
* org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe
|
|
@@ -265,7 +266,7 @@ export declare class TableTechnicalMetadata extends $dara.Model {
|
|
|
265
266
|
export declare class Table extends $dara.Model {
|
|
266
267
|
/**
|
|
267
268
|
* @remarks
|
|
268
|
-
* The business metadata related to DataWorks, including
|
|
269
|
+
* The business metadata related to DataWorks, including usage instructions, tags, categories, upstream output tasks, and extended information.
|
|
269
270
|
*/
|
|
270
271
|
businessMetadata?: TableBusinessMetadata;
|
|
271
272
|
/**
|
|
@@ -278,7 +279,7 @@ export declare class Table extends $dara.Model {
|
|
|
278
279
|
comment?: string;
|
|
279
280
|
/**
|
|
280
281
|
* @remarks
|
|
281
|
-
* The creation time. The value is a timestamp
|
|
282
|
+
* The creation time. The value is a millisecond timestamp.
|
|
282
283
|
*
|
|
283
284
|
* @example
|
|
284
285
|
* 1736852168000
|
|
@@ -286,13 +287,13 @@ export declare class Table extends $dara.Model {
|
|
|
286
287
|
createTime?: number;
|
|
287
288
|
/**
|
|
288
289
|
* @remarks
|
|
289
|
-
* The ID. For more information, see [
|
|
290
|
+
* The ID. For more information, see [Concepts related to metadata entities](https://help.aliyun.com/document_detail/2880092.html).
|
|
290
291
|
*
|
|
291
|
-
* The format is `${EntityType}:${Instance ID or
|
|
292
|
+
* The format is `${EntityType}:${Instance ID or escaped URL}:${Data catalog identifier}:${Database name}:${Schema name}:${Table name}`. Empty strings are used as placeholders for non-existent levels.
|
|
292
293
|
*
|
|
293
|
-
* > For MaxCompute and DLF types,
|
|
294
|
+
* > For MaxCompute and DLF types, an empty string is used as a placeholder for the instance ID. For the MaxCompute type, the database name is the MaxCompute project name. Projects with the three-tier model enabled must provide the schema name. For projects without the three-tier model enabled, an empty string is used as a placeholder for the schema name.
|
|
294
295
|
*
|
|
295
|
-
* > For the StarRocks type, the data catalog identifier is the catalog name. For the DLF type, the data catalog identifier is the catalog ID. Other types do not support the catalog level, and
|
|
296
|
+
* > For the StarRocks type, the data catalog identifier is the catalog name. For the DLF type, the data catalog identifier is the catalog ID. Other types do not support the catalog level, and an empty string can be used as a placeholder.
|
|
296
297
|
*
|
|
297
298
|
* The ID formats for several common types are as follows:
|
|
298
299
|
*
|
|
@@ -306,12 +307,12 @@ export declare class Table extends $dara.Model {
|
|
|
306
307
|
*
|
|
307
308
|
* `mysql-table:(instance_id|encoded_jdbc_url)::database_name::table_name`
|
|
308
309
|
* > Where:
|
|
309
|
-
* `instance_id`: The instance ID
|
|
310
|
-
* `encoded_jdbc_url`: The URL-encoded JDBC connection string
|
|
310
|
+
* `instance_id`: The instance ID. Required when the data source is registered in instance mode.
|
|
311
|
+
* `encoded_jdbc_url`: The URL-encoded JDBC connection string. Required when the data source is registered by using a connection string.
|
|
311
312
|
* `catalog_id`: The DLF catalog ID.
|
|
312
313
|
* `project_name`: The MaxCompute project name.
|
|
313
314
|
* `database_name`: The database name.
|
|
314
|
-
* `schema_name`: The schema name. For the MaxCompute type, this is required only when the three-
|
|
315
|
+
* `schema_name`: The schema name. For the MaxCompute type, this is required only when the three-tier model is enabled for the project. If the three-tier model is not enabled, an empty string is used as a placeholder.
|
|
315
316
|
* `table_name`: The table name.
|
|
316
317
|
*
|
|
317
318
|
* @example
|
|
@@ -320,7 +321,7 @@ export declare class Table extends $dara.Model {
|
|
|
320
321
|
id?: string;
|
|
321
322
|
/**
|
|
322
323
|
* @remarks
|
|
323
|
-
* The modification time. The value is a timestamp
|
|
324
|
+
* The modification time. The value is a millisecond timestamp.
|
|
324
325
|
*
|
|
325
326
|
* @example
|
|
326
327
|
* 1736852168000
|
|
@@ -336,21 +337,21 @@ export declare class Table extends $dara.Model {
|
|
|
336
337
|
name?: string;
|
|
337
338
|
/**
|
|
338
339
|
* @remarks
|
|
339
|
-
* The ID of the parent metadata entity. For more information, see [
|
|
340
|
+
* The ID of the parent metadata entity. For more information, see [Concepts related to metadata entities](https://help.aliyun.com/document_detail/2880092.html).
|
|
340
341
|
*
|
|
341
|
-
* - For types that support schemas (`maxcompute/holo/postgresql/sqlserver/hybriddb_for_postgresql/oracle
|
|
342
|
+
* - For types that support schemas (`maxcompute/holo/postgresql/sqlserver/hybriddb_for_postgresql/oracle`. For the MaxCompute type, the three-tier model must be enabled for the project), `ParentMetaEntityId` is the database schema to which the table belongs. The format is `${EntityType}:${Instance ID or escaped URL}:${Data catalog identifier}:${Database name}:${Schema name}`. Empty strings are used as placeholders for non-existent levels.
|
|
342
343
|
*
|
|
343
|
-
* - For other types, `ParentMetaEntityId` is the database to which the table belongs. The format is `${EntityType}:${Instance ID or
|
|
344
|
+
* - For other types, `ParentMetaEntityId` is the database to which the table belongs. The format is `${EntityType}:${Instance ID or escaped URL}:${Data catalog identifier}:${Database name}`. Empty strings are used as placeholders for non-existent levels.
|
|
344
345
|
*
|
|
345
|
-
* > For MaxCompute and DLF types,
|
|
346
|
+
* > For MaxCompute and DLF types, an empty string is used as a placeholder for the instance ID. For the MaxCompute type, the database name is the MaxCompute project name.
|
|
346
347
|
*
|
|
347
|
-
* > For the StarRocks type, the data catalog identifier is the catalog name. For the DLF type, the data catalog identifier is the catalog ID. Other types do not support the catalog level, and
|
|
348
|
+
* > For the StarRocks type, the data catalog identifier is the catalog name. For the DLF type, the data catalog identifier is the catalog ID. Other types do not support the catalog level, and an empty string can be used as a placeholder.
|
|
348
349
|
*
|
|
349
350
|
* The `ParentMetaEntityId` formats for several common types are as follows:
|
|
350
351
|
*
|
|
351
352
|
* `maxcompute-project:::project_name`
|
|
352
353
|
*
|
|
353
|
-
* `maxcompute-schema:::project_name:schema_name` (Only when the three-
|
|
354
|
+
* `maxcompute-schema:::project_name:schema_name` (Only when the three-tier model is enabled for the project)
|
|
354
355
|
*
|
|
355
356
|
* `dlf-database::catalog_id:database_name`
|
|
356
357
|
*
|
|
@@ -361,8 +362,8 @@ export declare class Table extends $dara.Model {
|
|
|
361
362
|
* `mysql-database:(instance_id|encoded_jdbc_url)::database_name`
|
|
362
363
|
*
|
|
363
364
|
* > Where:
|
|
364
|
-
* `instance_id`: The instance ID
|
|
365
|
-
* `encoded_jdbc_url`: The URL-encoded JDBC connection string
|
|
365
|
+
* `instance_id`: The instance ID. Required when the data source is registered in instance mode.
|
|
366
|
+
* `encoded_jdbc_url`: The URL-encoded JDBC connection string. Required when the data source is registered by using a connection string.
|
|
366
367
|
* `catalog_id`: The DLF catalog ID.
|
|
367
368
|
* `project_name`: The MaxCompute project name.
|
|
368
369
|
* `database_name`: The database name.
|
|
@@ -374,9 +375,13 @@ export declare class Table extends $dara.Model {
|
|
|
374
375
|
parentMetaEntityId?: string;
|
|
375
376
|
/**
|
|
376
377
|
* @remarks
|
|
377
|
-
* The list of partition keys. This
|
|
378
|
+
* The list of partition keys. This list is empty for non-partitioned tables.
|
|
378
379
|
*/
|
|
379
380
|
partitionKeys?: string[];
|
|
381
|
+
/**
|
|
382
|
+
* @remarks
|
|
383
|
+
* The statistical metrics of the table. The key is the metric name, and the value is the statistical value in string format. Current metrics include the number of production runs in the last 30 days (prodRunCount30d), the number of ad hoc queries in the last 30 days (adhocQueryCount30d), the number of downstream dependent tasks (downstreamTaskCount30d), and the number of downstream dependent tables (downstreamTableCount30d). Metrics without statistical values are not returned.
|
|
384
|
+
*/
|
|
380
385
|
statisticsInfos?: {
|
|
381
386
|
[key: string]: string;
|
|
382
387
|
};
|
package/dist/models/Table.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.js","sourceRoot":"","sources":["../../src/models/Table.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAyB9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,EAAE,EAAE,IAAI;YACR,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,0EAgDC;AAED,MAAa,8BAA+B,SAAQ,K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HANGED
package/src/client.ts
CHANGED
|
@@ -9254,7 +9254,7 @@ export default class Client extends OpenApi {
|
|
|
9254
9254
|
* Retrieves the details of a specified column in a DataWorks Data Map table.
|
|
9255
9255
|
*
|
|
9256
9256
|
* @remarks
|
|
9257
|
-
* 1. You must purchase DataWorks Basic Edition or a
|
|
9257
|
+
* 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
|
|
9258
9258
|
*
|
|
9259
9259
|
* @param request - GetColumnRequest
|
|
9260
9260
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9284,7 +9284,7 @@ export default class Client extends OpenApi {
|
|
|
9284
9284
|
* Retrieves the details of a specified column in a DataWorks Data Map table.
|
|
9285
9285
|
*
|
|
9286
9286
|
* @remarks
|
|
9287
|
-
* 1. You must purchase DataWorks Basic Edition or a
|
|
9287
|
+
* 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
|
|
9288
9288
|
*
|
|
9289
9289
|
* @param request - GetColumnRequest
|
|
9290
9290
|
* @returns GetColumnResponse
|
|
@@ -13361,7 +13361,7 @@ export default class Client extends OpenApi {
|
|
|
13361
13361
|
* Queries the columns of a specified table in DataWorks Data Map.
|
|
13362
13362
|
*
|
|
13363
13363
|
* @remarks
|
|
13364
|
-
* 1. You must purchase DataWorks Basic Edition or
|
|
13364
|
+
* 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
|
|
13365
13365
|
*
|
|
13366
13366
|
* @param request - ListColumnsRequest
|
|
13367
13367
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13391,7 +13391,7 @@ export default class Client extends OpenApi {
|
|
|
13391
13391
|
* Queries the columns of a specified table in DataWorks Data Map.
|
|
13392
13392
|
*
|
|
13393
13393
|
* @remarks
|
|
13394
|
-
* 1. You must purchase DataWorks Basic Edition or
|
|
13394
|
+
* 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
|
|
13395
13395
|
*
|
|
13396
13396
|
* @param request - ListColumnsRequest
|
|
13397
13397
|
* @returns ListColumnsResponse
|
|
@@ -16216,7 +16216,7 @@ export default class Client extends OpenApi {
|
|
|
16216
16216
|
}
|
|
16217
16217
|
|
|
16218
16218
|
/**
|
|
16219
|
-
* Queries the upstream and downstream lineage entities
|
|
16219
|
+
* Queries the upstream and downstream lineage entities for a specified entity in Data Map, with an option to include detailed lineage relationship information.
|
|
16220
16220
|
*
|
|
16221
16221
|
* @remarks
|
|
16222
16222
|
* 1. You must purchase DataWorks Standard Edition or a more advanced edition to use this operation.
|
|
@@ -16247,7 +16247,7 @@ export default class Client extends OpenApi {
|
|
|
16247
16247
|
}
|
|
16248
16248
|
|
|
16249
16249
|
/**
|
|
16250
|
-
* Queries the upstream and downstream lineage entities
|
|
16250
|
+
* Queries the upstream and downstream lineage entities for a specified entity in Data Map, with an option to include detailed lineage relationship information.
|
|
16251
16251
|
*
|
|
16252
16252
|
* @remarks
|
|
16253
16253
|
* 1. You must purchase DataWorks Standard Edition or a more advanced edition to use this operation.
|
package/src/models/Catalog.ts
CHANGED
|
@@ -8,32 +8,41 @@ export class Catalog extends $dara.Model {
|
|
|
8
8
|
* The comment.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* Default catalog
|
|
12
12
|
*/
|
|
13
13
|
comment?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The creation time.
|
|
16
|
+
* The creation time. The value is a millisecond-level timestamp.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
|
-
*
|
|
19
|
+
* 1725330777000
|
|
20
20
|
*/
|
|
21
21
|
createTime?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* ID
|
|
24
|
+
* The ID of the data catalog entity. Currently, the DLF and StarRocks types are supported. For more information, see [Concepts of metadata entities](https://help.aliyun.com/document_detail/2880092.html).
|
|
25
|
+
*
|
|
26
|
+
* - For the DLF type, the format is `dlf-catalog::catalog_id`.
|
|
27
|
+
*
|
|
28
|
+
* - For the StarRocks type, the format is `starrocks-catalog:(instance_id|encoded_jdbc_url):catalog_name`.
|
|
29
|
+
*
|
|
30
|
+
* > Where:
|
|
31
|
+
* `catalog_id`: The DLF catalog ID.
|
|
32
|
+
* `instance_id`: The instance ID, which is required when the data source is registered in instance mode.
|
|
33
|
+
* `encoded_jdbc_url`: the URL-encoded JDBC connection string, which is required when the data source is registered by using a connection string.
|
|
34
|
+
* `catalog_name`: the name of the StarRocks catalog.
|
|
25
35
|
*
|
|
26
36
|
* @example
|
|
27
|
-
* dlf-catalog
|
|
28
|
-
* starrocks-catalog:c-abc123xxx:default_catalog
|
|
37
|
+
* dlf-catalog::catalog1
|
|
29
38
|
*/
|
|
30
39
|
id?: string;
|
|
31
40
|
/**
|
|
32
41
|
* @remarks
|
|
33
|
-
* The modification time.
|
|
42
|
+
* The modification time. The value is a millisecond-level timestamp.
|
|
34
43
|
*
|
|
35
44
|
* @example
|
|
36
|
-
*
|
|
45
|
+
* 1725330777000
|
|
37
46
|
*/
|
|
38
47
|
modifyTime?: number;
|
|
39
48
|
/**
|
|
@@ -41,24 +50,31 @@ export class Catalog extends $dara.Model {
|
|
|
41
50
|
* The name.
|
|
42
51
|
*
|
|
43
52
|
* @example
|
|
44
|
-
*
|
|
53
|
+
* catalog1
|
|
45
54
|
*/
|
|
46
55
|
name?: string;
|
|
47
56
|
/**
|
|
48
57
|
* @remarks
|
|
49
58
|
* The ID of the parent entity.
|
|
50
59
|
*
|
|
60
|
+
* - For the DLF type, the format of `ParentMetaEntityId` is `dlf`.
|
|
61
|
+
*
|
|
62
|
+
* - For the StarRocks type, the format of `ParentMetaEntityId` is `starrocks:(instance_id|encoded_jdbc_url)`.
|
|
63
|
+
*
|
|
64
|
+
* > Where:
|
|
65
|
+
* `instance_id`: The instance ID, which is required when the data source is registered in instance mode.
|
|
66
|
+
* `encoded_jdbc_url`: the URL-encoded JDBC connection string, which is required when the data source is registered by using a connection string.
|
|
67
|
+
*
|
|
51
68
|
* @example
|
|
52
69
|
* dlf
|
|
53
|
-
* starrocks:c-abc123xxx
|
|
54
70
|
*/
|
|
55
71
|
parentMetaEntityId?: string;
|
|
56
72
|
/**
|
|
57
73
|
* @remarks
|
|
58
|
-
* The type.
|
|
74
|
+
* The catalog type. The valid values depend on the metadata collector type.
|
|
59
75
|
*
|
|
60
76
|
* @example
|
|
61
|
-
*
|
|
77
|
+
* HIVE
|
|
62
78
|
*/
|
|
63
79
|
type?: string;
|
|
64
80
|
static names(): { [key: string]: string } {
|
package/src/models/Column.ts
CHANGED
|
@@ -12,7 +12,7 @@ export class ColumnBusinessMetadata extends $dara.Model {
|
|
|
12
12
|
customAttributes?: { [key: string]: string[] };
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The business description of the column.
|
|
15
|
+
* The business description of the column. This is supported only by MaxCompute, HMS (EMR cluster), and DLF types.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* Business description of Column 1
|
|
@@ -90,7 +90,7 @@ export class Column extends $dara.Model {
|
|
|
90
90
|
comment?: string;
|
|
91
91
|
/**
|
|
92
92
|
* @remarks
|
|
93
|
-
*
|
|
93
|
+
* Indicates whether the column is a foreign key. This is supported only by the MaxCompute type.
|
|
94
94
|
*
|
|
95
95
|
* @example
|
|
96
96
|
* false
|
|
@@ -100,13 +100,13 @@ export class Column extends $dara.Model {
|
|
|
100
100
|
* @remarks
|
|
101
101
|
* The ID. For more information, see [Metadata entity concepts](https://help.aliyun.com/document_detail/2880092.html).
|
|
102
102
|
*
|
|
103
|
-
* The format is `${EntityType}:${Instance ID or URL-encoded URL}:${
|
|
103
|
+
* The format is `${EntityType}:${Instance ID or URL-encoded URL}:${Data catalog identifier}:${Database name}:${Schema name}:${Table name}:${Column name}`. Use an empty string as a placeholder for non-existent levels.
|
|
104
104
|
*
|
|
105
|
-
* > For MaxCompute and DLF types, use an empty string as a placeholder for the instance ID. For the MaxCompute type, the database name is the MaxCompute project name. Projects with the three-tier model enabled
|
|
105
|
+
* > For MaxCompute and DLF types, use an empty string as a placeholder for the instance ID. For the MaxCompute type, the database name is the MaxCompute project name. Projects with the three-tier model enabled must provide the schema name. For projects without the three-tier model enabled, use an empty string as a placeholder for the schema name.
|
|
106
106
|
*
|
|
107
|
-
* > For the StarRocks type, the catalog
|
|
107
|
+
* > For the StarRocks type, the data catalog identifier is the catalog name. For the DLF type, the data catalog identifier is the catalog ID. Other types do not support the catalog level, and an empty string can be used as a placeholder.
|
|
108
108
|
*
|
|
109
|
-
* The
|
|
109
|
+
* The ID formats for several common types are as follows:
|
|
110
110
|
*
|
|
111
111
|
* `maxcompute-column:::project_name:[schema_name]:table_name:column_name`
|
|
112
112
|
*
|
|
@@ -124,7 +124,7 @@ export class Column extends $dara.Model {
|
|
|
124
124
|
* `catalog_id`: The DLF catalog ID.
|
|
125
125
|
* `project_name`: The MaxCompute project name.
|
|
126
126
|
* `database_name`: The database name.
|
|
127
|
-
* `schema_name`: The schema name. For the MaxCompute type, this is required only if the three-tier model is enabled for the project.
|
|
127
|
+
* `schema_name`: The schema name. For the MaxCompute type, this is required only if the three-tier model is enabled for the project. Otherwise, use an empty string as a placeholder.
|
|
128
128
|
* `table_name`: The table name.
|
|
129
129
|
* `column_name`: The column name.
|
|
130
130
|
*
|
|
@@ -142,7 +142,7 @@ export class Column extends $dara.Model {
|
|
|
142
142
|
name?: string;
|
|
143
143
|
/**
|
|
144
144
|
* @remarks
|
|
145
|
-
*
|
|
145
|
+
* Indicates whether the column is a partition key.
|
|
146
146
|
*
|
|
147
147
|
* @example
|
|
148
148
|
* false
|
|
@@ -158,16 +158,20 @@ export class Column extends $dara.Model {
|
|
|
158
158
|
position?: number;
|
|
159
159
|
/**
|
|
160
160
|
* @remarks
|
|
161
|
-
*
|
|
161
|
+
* Indicates whether the column is a primary key. This is supported only by the MaxCompute type.
|
|
162
162
|
*
|
|
163
163
|
* @example
|
|
164
164
|
* false
|
|
165
165
|
*/
|
|
166
166
|
primaryKey?: boolean;
|
|
167
|
+
/**
|
|
168
|
+
* @remarks
|
|
169
|
+
* The statistical metrics of the column, where the key is the metric name and the value is the statistical value in string format. Current metrics include the number of production runs in the last 30 days (prodRunCount30d) and the number of downstream dependent tasks (downstreamTaskCount30d). Metrics without statistical values are not returned.
|
|
170
|
+
*/
|
|
167
171
|
statisticsInfos?: { [key: string]: string };
|
|
168
172
|
/**
|
|
169
173
|
* @remarks
|
|
170
|
-
* The ID
|
|
174
|
+
* The table ID. For more information, see the `Table` object.
|
|
171
175
|
*
|
|
172
176
|
* @example
|
|
173
177
|
* maxcompute-table:::project_name:[schema_name]:table_name
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListLineagesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The destination entity ID. You can refer to the table or column ID returned by the ListTables or ListColumns operation, or use a custom entity ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* dlf-table::catalog_id:database_name::table_name
|
|
@@ -13,7 +13,7 @@ export class ListLineagesRequest extends $dara.Model {
|
|
|
13
13
|
dstEntityId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The destination entity name. Fuzzy matching is supported.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* dstName1
|
|
@@ -30,8 +30,8 @@ export class ListLineagesRequest extends $dara.Model {
|
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
32
|
* The sort order. Default value: Asc. Valid values:
|
|
33
|
-
* - Asc:
|
|
34
|
-
* - Desc:
|
|
33
|
+
* - Asc: Ascending order.
|
|
34
|
+
* - Desc: Descending order.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* Asc
|
|
@@ -53,10 +53,17 @@ export class ListLineagesRequest extends $dara.Model {
|
|
|
53
53
|
* 10
|
|
54
54
|
*/
|
|
55
55
|
pageSize?: number;
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* Queries the lineage relationships that take effect within the specified number of recent calendar days. Valid values: 1 to 30. For example, 1 indicates starting from midnight of the current day, and 7 indicates starting from midnight 6 days ago. If this parameter is not specified, the system filters the data based on the configured lineage validity period.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* 7
|
|
62
|
+
*/
|
|
56
63
|
recentDays?: number;
|
|
57
64
|
/**
|
|
58
65
|
* @remarks
|
|
59
|
-
* The field
|
|
66
|
+
* The sort field. Default value: Name. The entities are sorted by lineage entity name.
|
|
60
67
|
*
|
|
61
68
|
* @example
|
|
62
69
|
* Name
|
|
@@ -64,7 +71,7 @@ export class ListLineagesRequest extends $dara.Model {
|
|
|
64
71
|
sortBy?: string;
|
|
65
72
|
/**
|
|
66
73
|
* @remarks
|
|
67
|
-
* The
|
|
74
|
+
* The source entity ID. You can refer to the table or column ID returned by the ListTables or ListColumns operation, or use a custom entity ID.
|
|
68
75
|
*
|
|
69
76
|
* @example
|
|
70
77
|
* maxcompute-table:::project_name:[schema_name]:table_name
|
|
@@ -72,7 +79,7 @@ export class ListLineagesRequest extends $dara.Model {
|
|
|
72
79
|
srcEntityId?: string;
|
|
73
80
|
/**
|
|
74
81
|
* @remarks
|
|
75
|
-
* The
|
|
82
|
+
* The source entity name. Fuzzy matching is supported.
|
|
76
83
|
*
|
|
77
84
|
* @example
|
|
78
85
|
* srcName1
|
|
@@ -57,12 +57,12 @@ export class ListLineagesResponseBodyPagingInfoLineages extends $dara.Model {
|
|
|
57
57
|
export class ListLineagesResponseBodyPagingInfo extends $dara.Model {
|
|
58
58
|
/**
|
|
59
59
|
* @remarks
|
|
60
|
-
* The
|
|
60
|
+
* The lineage information list.
|
|
61
61
|
*/
|
|
62
62
|
lineages?: ListLineagesResponseBodyPagingInfoLineages[];
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* The page number
|
|
65
|
+
* The requested page number, which is used for pagination.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
68
|
* 1
|
|
@@ -117,7 +117,7 @@ export class ListLineagesResponseBodyPagingInfo extends $dara.Model {
|
|
|
117
117
|
export class ListLineagesResponseBody extends $dara.Model {
|
|
118
118
|
/**
|
|
119
119
|
* @remarks
|
|
120
|
-
* The pagination
|
|
120
|
+
* The pagination information.
|
|
121
121
|
*/
|
|
122
122
|
pagingInfo?: ListLineagesResponseBodyPagingInfo;
|
|
123
123
|
/**
|
package/src/models/Table.ts
CHANGED
|
@@ -16,7 +16,7 @@ export class TableBusinessMetadataCategories extends $dara.Model {
|
|
|
16
16
|
* The name.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
|
-
*
|
|
19
|
+
* Test category
|
|
20
20
|
*/
|
|
21
21
|
name?: string;
|
|
22
22
|
/**
|
|
@@ -56,6 +56,7 @@ export class TableBusinessMetadataExtension extends $dara.Model {
|
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
58
|
* The environment type. Valid values:
|
|
59
|
+
*
|
|
59
60
|
* - Prod: Production environment.
|
|
60
61
|
* - Dev: Development environment.
|
|
61
62
|
*
|
|
@@ -65,7 +66,7 @@ export class TableBusinessMetadataExtension extends $dara.Model {
|
|
|
65
66
|
envType?: string;
|
|
66
67
|
/**
|
|
67
68
|
* @remarks
|
|
68
|
-
* The number of
|
|
69
|
+
* The number of favorites.
|
|
69
70
|
*
|
|
70
71
|
* @example
|
|
71
72
|
* 0
|
|
@@ -215,12 +216,12 @@ export class TableBusinessMetadata extends $dara.Model {
|
|
|
215
216
|
categories?: TableBusinessMetadataCategories[][];
|
|
216
217
|
/**
|
|
217
218
|
* @remarks
|
|
218
|
-
* The custom attribute values
|
|
219
|
+
* The custom attribute values. The key is the custom attribute identifier, and the value is the list of attribute values.
|
|
219
220
|
*/
|
|
220
221
|
customAttributes?: { [key: string]: string[] };
|
|
221
222
|
/**
|
|
222
223
|
* @remarks
|
|
223
|
-
* The extension information.
|
|
224
|
+
* The extension information. Currently, only the MaxCompute type is supported.
|
|
224
225
|
*/
|
|
225
226
|
extension?: TableBusinessMetadataExtension;
|
|
226
227
|
/**
|
|
@@ -335,7 +336,7 @@ export class TableTechnicalMetadata extends $dara.Model {
|
|
|
335
336
|
parameters?: { [key: string]: string };
|
|
336
337
|
/**
|
|
337
338
|
* @remarks
|
|
338
|
-
* The class used
|
|
339
|
+
* The class used by SerDe.
|
|
339
340
|
*
|
|
340
341
|
* @example
|
|
341
342
|
* org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe
|
|
@@ -380,7 +381,7 @@ export class TableTechnicalMetadata extends $dara.Model {
|
|
|
380
381
|
export class Table extends $dara.Model {
|
|
381
382
|
/**
|
|
382
383
|
* @remarks
|
|
383
|
-
* The business metadata related to DataWorks, including
|
|
384
|
+
* The business metadata related to DataWorks, including usage instructions, tags, categories, upstream output tasks, and extended information.
|
|
384
385
|
*/
|
|
385
386
|
businessMetadata?: TableBusinessMetadata;
|
|
386
387
|
/**
|
|
@@ -393,7 +394,7 @@ export class Table extends $dara.Model {
|
|
|
393
394
|
comment?: string;
|
|
394
395
|
/**
|
|
395
396
|
* @remarks
|
|
396
|
-
* The creation time. The value is a timestamp
|
|
397
|
+
* The creation time. The value is a millisecond timestamp.
|
|
397
398
|
*
|
|
398
399
|
* @example
|
|
399
400
|
* 1736852168000
|
|
@@ -401,13 +402,13 @@ export class Table extends $dara.Model {
|
|
|
401
402
|
createTime?: number;
|
|
402
403
|
/**
|
|
403
404
|
* @remarks
|
|
404
|
-
* The ID. For more information, see [
|
|
405
|
+
* The ID. For more information, see [Concepts related to metadata entities](https://help.aliyun.com/document_detail/2880092.html).
|
|
405
406
|
*
|
|
406
|
-
* The format is `${EntityType}:${Instance ID or
|
|
407
|
+
* The format is `${EntityType}:${Instance ID or escaped URL}:${Data catalog identifier}:${Database name}:${Schema name}:${Table name}`. Empty strings are used as placeholders for non-existent levels.
|
|
407
408
|
*
|
|
408
|
-
* > For MaxCompute and DLF types,
|
|
409
|
+
* > For MaxCompute and DLF types, an empty string is used as a placeholder for the instance ID. For the MaxCompute type, the database name is the MaxCompute project name. Projects with the three-tier model enabled must provide the schema name. For projects without the three-tier model enabled, an empty string is used as a placeholder for the schema name.
|
|
409
410
|
*
|
|
410
|
-
* > For the StarRocks type, the data catalog identifier is the catalog name. For the DLF type, the data catalog identifier is the catalog ID. Other types do not support the catalog level, and
|
|
411
|
+
* > For the StarRocks type, the data catalog identifier is the catalog name. For the DLF type, the data catalog identifier is the catalog ID. Other types do not support the catalog level, and an empty string can be used as a placeholder.
|
|
411
412
|
*
|
|
412
413
|
* The ID formats for several common types are as follows:
|
|
413
414
|
*
|
|
@@ -421,12 +422,12 @@ export class Table extends $dara.Model {
|
|
|
421
422
|
*
|
|
422
423
|
* `mysql-table:(instance_id|encoded_jdbc_url)::database_name::table_name`
|
|
423
424
|
* > Where:
|
|
424
|
-
* `instance_id`: The instance ID
|
|
425
|
-
* `encoded_jdbc_url`: The URL-encoded JDBC connection string
|
|
425
|
+
* `instance_id`: The instance ID. Required when the data source is registered in instance mode.
|
|
426
|
+
* `encoded_jdbc_url`: The URL-encoded JDBC connection string. Required when the data source is registered by using a connection string.
|
|
426
427
|
* `catalog_id`: The DLF catalog ID.
|
|
427
428
|
* `project_name`: The MaxCompute project name.
|
|
428
429
|
* `database_name`: The database name.
|
|
429
|
-
* `schema_name`: The schema name. For the MaxCompute type, this is required only when the three-
|
|
430
|
+
* `schema_name`: The schema name. For the MaxCompute type, this is required only when the three-tier model is enabled for the project. If the three-tier model is not enabled, an empty string is used as a placeholder.
|
|
430
431
|
* `table_name`: The table name.
|
|
431
432
|
*
|
|
432
433
|
* @example
|
|
@@ -435,7 +436,7 @@ export class Table extends $dara.Model {
|
|
|
435
436
|
id?: string;
|
|
436
437
|
/**
|
|
437
438
|
* @remarks
|
|
438
|
-
* The modification time. The value is a timestamp
|
|
439
|
+
* The modification time. The value is a millisecond timestamp.
|
|
439
440
|
*
|
|
440
441
|
* @example
|
|
441
442
|
* 1736852168000
|
|
@@ -451,21 +452,21 @@ export class Table extends $dara.Model {
|
|
|
451
452
|
name?: string;
|
|
452
453
|
/**
|
|
453
454
|
* @remarks
|
|
454
|
-
* The ID of the parent metadata entity. For more information, see [
|
|
455
|
+
* The ID of the parent metadata entity. For more information, see [Concepts related to metadata entities](https://help.aliyun.com/document_detail/2880092.html).
|
|
455
456
|
*
|
|
456
|
-
* - For types that support schemas (`maxcompute/holo/postgresql/sqlserver/hybriddb_for_postgresql/oracle
|
|
457
|
+
* - For types that support schemas (`maxcompute/holo/postgresql/sqlserver/hybriddb_for_postgresql/oracle`. For the MaxCompute type, the three-tier model must be enabled for the project), `ParentMetaEntityId` is the database schema to which the table belongs. The format is `${EntityType}:${Instance ID or escaped URL}:${Data catalog identifier}:${Database name}:${Schema name}`. Empty strings are used as placeholders for non-existent levels.
|
|
457
458
|
*
|
|
458
|
-
* - For other types, `ParentMetaEntityId` is the database to which the table belongs. The format is `${EntityType}:${Instance ID or
|
|
459
|
+
* - For other types, `ParentMetaEntityId` is the database to which the table belongs. The format is `${EntityType}:${Instance ID or escaped URL}:${Data catalog identifier}:${Database name}`. Empty strings are used as placeholders for non-existent levels.
|
|
459
460
|
*
|
|
460
|
-
* > For MaxCompute and DLF types,
|
|
461
|
+
* > For MaxCompute and DLF types, an empty string is used as a placeholder for the instance ID. For the MaxCompute type, the database name is the MaxCompute project name.
|
|
461
462
|
*
|
|
462
|
-
* > For the StarRocks type, the data catalog identifier is the catalog name. For the DLF type, the data catalog identifier is the catalog ID. Other types do not support the catalog level, and
|
|
463
|
+
* > For the StarRocks type, the data catalog identifier is the catalog name. For the DLF type, the data catalog identifier is the catalog ID. Other types do not support the catalog level, and an empty string can be used as a placeholder.
|
|
463
464
|
*
|
|
464
465
|
* The `ParentMetaEntityId` formats for several common types are as follows:
|
|
465
466
|
*
|
|
466
467
|
* `maxcompute-project:::project_name`
|
|
467
468
|
*
|
|
468
|
-
* `maxcompute-schema:::project_name:schema_name` (Only when the three-
|
|
469
|
+
* `maxcompute-schema:::project_name:schema_name` (Only when the three-tier model is enabled for the project)
|
|
469
470
|
*
|
|
470
471
|
* `dlf-database::catalog_id:database_name`
|
|
471
472
|
*
|
|
@@ -476,8 +477,8 @@ export class Table extends $dara.Model {
|
|
|
476
477
|
* `mysql-database:(instance_id|encoded_jdbc_url)::database_name`
|
|
477
478
|
*
|
|
478
479
|
* > Where:
|
|
479
|
-
* `instance_id`: The instance ID
|
|
480
|
-
* `encoded_jdbc_url`: The URL-encoded JDBC connection string
|
|
480
|
+
* `instance_id`: The instance ID. Required when the data source is registered in instance mode.
|
|
481
|
+
* `encoded_jdbc_url`: The URL-encoded JDBC connection string. Required when the data source is registered by using a connection string.
|
|
481
482
|
* `catalog_id`: The DLF catalog ID.
|
|
482
483
|
* `project_name`: The MaxCompute project name.
|
|
483
484
|
* `database_name`: The database name.
|
|
@@ -489,9 +490,13 @@ export class Table extends $dara.Model {
|
|
|
489
490
|
parentMetaEntityId?: string;
|
|
490
491
|
/**
|
|
491
492
|
* @remarks
|
|
492
|
-
* The list of partition keys. This
|
|
493
|
+
* The list of partition keys. This list is empty for non-partitioned tables.
|
|
493
494
|
*/
|
|
494
495
|
partitionKeys?: string[];
|
|
496
|
+
/**
|
|
497
|
+
* @remarks
|
|
498
|
+
* The statistical metrics of the table. The key is the metric name, and the value is the statistical value in string format. Current metrics include the number of production runs in the last 30 days (prodRunCount30d), the number of ad hoc queries in the last 30 days (adhocQueryCount30d), the number of downstream dependent tasks (downstreamTaskCount30d), and the number of downstream dependent tables (downstreamTableCount30d). Metrics without statistical values are not returned.
|
|
499
|
+
*/
|
|
495
500
|
statisticsInfos?: { [key: string]: string };
|
|
496
501
|
/**
|
|
497
502
|
* @remarks
|