Melakukan kueri node berdasarkan output dari node.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectEnv |
string |
Yes |
Lingkungan Operation Center. Nilai yang valid: PROD dan DEV. Nilai PROD menunjukkan lingkungan produksi, dan nilai DEV menunjukkan lingkungan pengembangan. |
PROD |
| Outputs |
string |
Yes |
Nama output dari node. Anda dapat menentukan beberapa nama output. Pisahkan dengan koma (,). |
aaaaa.1231412_out,bbbb.12313123_out |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
Kode status HTTP. |
200 |
| RequestId |
string |
ID permintaan. |
SDFSDFSDF-asdfDFSDF-SDFSDf-SDfSFD |
| ErrorMessage |
string |
Pesan error. |
The connection does not exist. |
| ErrorCode |
string |
Kode error. |
Invalid.Tenant.ConnectionNotExists |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. |
true |
| Data |
array<object> |
Node yang dikembalikan. |
|
|
array<object> |
|||
| Output |
string |
Nama output dari node saat ini. |
test_0709_1.630003556_out |
| NodeList |
array<object> |
Informasi tentang node yang dikembalikan. |
|
|
object |
|||
| SchedulerType |
string |
The scheduling type of the node. Valid values:
|
NORMAL |
| RepeatInterval |
integer |
The interval at which the node is rerun after the node fails to run. |
60 |
| Repeatability |
boolean |
Indicates whether the node can be rerun. |
true |
| FileType |
string |
The node type. Valid values: 6 (Shell), 10 (ODPS SQL), 11 (ODPS MR), 23 (Data Integration), 24 (ODPS Script), 99 (zero load), 221 (PyODPS 2), 225 (ODPS Spark), 227 (EMR Hive), 228 (EMR Spark), 229 (EMR Spark SQL), 230 (EMR MR), 239 (OSS object inspection), 257 (EMR Shell), 258 (EMR Spark Shell), 259 (EMR Presto), 260 (EMR Impala), 900 (real-time synchronization), 1089 (cross-tenant collaboration), 1091 (Hologres development), 1093 (Hologres SQL), 1100 (assignment), and 1221 (PyODPS 3) |
ODPS_SQL |
| ProjectId |
integer |
The workspace ID. |
33671 |
| ProgramType |
string |
The node type. This parameter is deprecated. For more information about node types, see valid values of the FileType parameter. |
ODPS_SQL |
| Priority |
integer |
The priority of the node. Valid values: 1, 3, 5, 7, and 8. A greater value indicates a higher priority. Default value: 1. |
1 |
| OwnerId |
string |
The owner ID. |
19337906836551 |
| Connection |
string |
The name of the data source. |
odps_source |
| ParamValues |
string |
The scheduling parameters of the node. |
a=b |
| RelatedFlowId |
integer |
The ID of the workflow to which the node belongs. |
1235655464 |
| DqcType |
integer |
Indicates whether the node is associated with a monitoring rule in Data Quality. Valid values: 0 and 1. The value 0 indicates that the node is associated with a monitoring rule in Data Quality. The value 1 indicates that the node is not associated with a monitoring rule in Data Quality. |
1 |
| BaselineId |
integer |
The baseline ID. |
1235667 |
| Description |
string |
The description of the node. |
test |
| NodeName |
string |
The name of the node. |
liux_test_n**** |
| ResGroupName |
string |
The name of the resource group. |
Default Resource Group |
| DqcDescription |
string |
The table and partition filter expression in Data Quality that are associated with the node. |
[{"projectName":"ztjy_dim","tableName":"dim_user_agent_manage_area_a","partition":"ds\u003d$[yyyy-mm-dd-1]"}] |
| CronExpress |
string |
The CRON expression. |
00 00 00 * * ? |
| NodeId |
integer |
The node ID. |
125677 |
Contoh
Respons sukses
JSONformat
{
"HttpStatusCode": 200,
"RequestId": "SDFSDFSDF-asdfDFSDF-SDFSDf-SDfSFD",
"ErrorMessage": "The connection does not exist.",
"ErrorCode": "Invalid.Tenant.ConnectionNotExists",
"Success": true,
"Data": [
{
"Output": "test_0709_1.630003556_out",
"NodeList": [
{
"SchedulerType": "NORMAL",
"RepeatInterval": 60,
"Repeatability": true,
"FileType": "ODPS_SQL",
"ProjectId": 33671,
"ProgramType": "ODPS_SQL",
"Priority": 1,
"OwnerId": "19337906836551",
"Connection": "odps_source",
"ParamValues": "a=b",
"RelatedFlowId": 1235655464,
"DqcType": 1,
"BaselineId": 1235667,
"Description": "test",
"NodeName": "liux_test_n****",
"ResGroupName": "Default Resource Group",
"DqcDescription": "[{\"projectName\":\"ztjy_dim\",\"tableName\":\"dim_user_agent_manage_area_a\",\"partition\":\"ds\\u003d$[yyyy-mm-dd-1]\"}]",
"CronExpress": "00 00 00 * * ?",
"NodeId": 125677
}
]
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.