@thinkingai/ae-cli 1.0.1 → 1.0.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/README.md +16 -13
- package/dist/auth-BQC5DBE7.js +19 -0
- package/dist/auth-DXKYLMO7.js +81 -0
- package/dist/chunk-3CDLNXTD.js +218 -0
- package/dist/chunk-53FNNCZW.js +174 -0
- package/dist/chunk-EBFUVWIZ.js +127 -0
- package/dist/chunk-ZYXIGPG7.js +148 -0
- package/dist/client-T4VODLA6.js +16 -0
- package/dist/community-FVDAWGS4.js +684 -0
- package/dist/config-V7AXKDMB.js +242 -0
- package/dist/index.js +16 -15
- package/dist/raw-G3GKHAPZ.js +61 -0
- package/dist/te-analysis-CHFTDN55.js +871 -0
- package/dist/te-audience-M6LQY6M7.js +350 -0
- package/dist/te-common-BLQ7DVGC.js +144 -0
- package/dist/te-dataops-V4OTKY35.js +1853 -0
- package/dist/te-engage-DXE4R5EW.js +1470 -0
- package/dist/te-meta-FMM7KCVI.js +479 -0
- package/package.json +7 -5
- package/skills/te-analysis/SKILL.md +10 -10
- package/skills/te-analysis/references/build-entity-details-sql.md +10 -10
- package/skills/te-analysis/references/build-event-details-sql.md +10 -10
- package/skills/te-analysis/references/create-alert.md +4 -4
- package/skills/te-analysis/references/create-dashboard.md +4 -4
- package/skills/te-analysis/references/create-or-update-dashboard-note.md +4 -4
- package/skills/te-analysis/references/create-public-access-link.md +4 -4
- package/skills/te-analysis/references/create-report.md +10 -10
- package/skills/te-analysis/references/create-result-cluster.md +4 -4
- package/skills/te-analysis/references/drilldown-user-events.md +6 -6
- package/skills/te-analysis/references/drilldown-users.md +4 -4
- package/skills/te-analysis/references/get-alert-definition-schema.md +3 -3
- package/skills/te-analysis/references/get-alert.md +3 -3
- package/skills/te-analysis/references/get-analysis-query-schema.md +4 -4
- package/skills/te-analysis/references/get-filter-schema.md +3 -3
- package/skills/te-analysis/references/get-groupby-schema.md +3 -3
- package/skills/te-analysis/references/get-report-definition.md +3 -3
- package/skills/te-analysis/references/get-table-columns.md +3 -3
- package/skills/te-analysis/references/list-alerts.md +4 -4
- package/skills/te-analysis/references/list-dashboards.md +4 -4
- package/skills/te-analysis/references/list-public-access-links.md +3 -3
- package/skills/te-analysis/references/list-reports.md +4 -4
- package/skills/te-analysis/references/load-filters.md +4 -4
- package/skills/te-analysis/references/query-adhoc.md +10 -10
- package/skills/te-analysis/references/query-dashboard-detail.md +3 -3
- package/skills/te-analysis/references/query-dashboard-report-data.md +9 -9
- package/skills/te-analysis/references/query-entity-details.md +10 -10
- package/skills/te-analysis/references/query-event-details.md +10 -10
- package/skills/te-analysis/references/query-report-data.md +11 -11
- package/skills/te-analysis/references/update-alert.md +4 -4
- package/skills/te-analysis/references/update-dashboard.md +4 -4
- package/skills/te-analysis/references/update-public-access-link.md +4 -4
- package/skills/te-audience/SKILL.md +5 -5
- package/skills/te-audience/references/create-cluster.md +10 -10
- package/skills/te-audience/references/create-tag.md +10 -10
- package/skills/te-audience/references/get-cluster-definition-schema.md +9 -9
- package/skills/te-audience/references/get-clusters-by-name.md +3 -3
- package/skills/te-audience/references/get-tag-definition-schema.md +3 -3
- package/skills/te-audience/references/get-tags-by-name.md +3 -3
- package/skills/te-audience/references/list-cluster-members.md +4 -4
- package/skills/te-audience/references/list-clusters.md +4 -4
- package/skills/te-audience/references/list-tag-members.md +4 -4
- package/skills/te-audience/references/list-tags.md +4 -4
- package/skills/te-audience/references/refresh-cluster.md +3 -3
- package/skills/te-audience/references/refresh-tag.md +3 -3
- package/skills/te-audience/references/update-cluster.md +9 -9
- package/skills/te-audience/references/update-tag.md +10 -10
- package/skills/te-common/SKILL.md +2 -2
- package/skills/te-common/references/get-resource-url.md +5 -5
- package/skills/te-common/references/list-projects.md +3 -3
- package/skills/te-community/SKILL.md +61 -69
- package/skills/te-community/references/community-activity-analysis.md +43 -43
- package/skills/te-community/references/community-analyzing-official-content.md +47 -47
- package/skills/te-community/references/community-analyzing-theme-comment.md +87 -87
- package/skills/te-community/references/community-character-analysis.md +44 -44
- package/skills/te-community/references/community-daily-report.md +56 -53
- package/skills/te-community/references/community-hottopic-insight.md +81 -87
- package/skills/te-community/references/community-weekly-report.md +54 -53
- package/skills/te-community/references/get_channel_info.md +9 -9
- package/skills/te-community/references/get_comment_tag_analysis.md +15 -15
- package/skills/te-community/references/get_comments_summary.md +15 -15
- package/skills/te-community/references/get_corpus_tags.md +9 -9
- package/skills/te-community/references/get_daily_summary.md +10 -10
- package/skills/te-community/references/get_hot_topics.md +12 -12
- package/skills/te-community/references/get_livestream_analysis.md +9 -9
- package/skills/te-community/references/get_livestream_detail.md +19 -19
- package/skills/te-community/references/get_livestream_list.md +13 -13
- package/skills/te-community/references/get_livestream_overview.md +11 -11
- package/skills/te-community/references/get_livestream_room_metrics.md +12 -12
- package/skills/te-community/references/get_livestream_rooms.md +12 -12
- package/skills/te-community/references/get_overview_metrics.md +12 -12
- package/skills/te-community/references/get_post_detail.md +21 -21
- package/skills/te-community/references/get_risk_content.md +23 -23
- package/skills/te-community/references/get_sentiment_overview.md +16 -16
- package/skills/te-community/references/get_tag_trends.md +13 -13
- package/skills/te-community/references/get_topic_detail.md +12 -12
- package/skills/te-community/references/search_posts.md +26 -26
- package/skills/te-dataops/SKILL.md +390 -392
- package/skills/te-dataops/references/dataops-flow-create.md +87 -87
- package/skills/te-dataops/references/dataops-flow-monitor.md +65 -65
- package/skills/te-dataops/references/dataops-integration.md +90 -85
- package/skills/te-dataops/references/dataops-query.md +58 -58
- package/skills/te-dataops/references/dataops-table.md +63 -63
- package/skills/te-engage/SKILL.md +103 -103
- package/skills/te-engage/references/add-approver.md +11 -11
- package/skills/te-engage/references/add-channel.md +34 -34
- package/skills/te-engage/references/approver-list.md +8 -8
- package/skills/te-engage/references/cancel-query-by-request-id.md +10 -10
- package/skills/te-engage/references/channel-detail.md +13 -13
- package/skills/te-engage/references/channel-list.md +15 -15
- package/skills/te-engage/references/config-channel-detail.md +10 -10
- package/skills/te-engage/references/config-channel-list.md +11 -11
- package/skills/te-engage/references/config-item-analysis-report.md +21 -21
- package/skills/te-engage/references/config-item-detail.md +10 -10
- package/skills/te-engage/references/config-item-list.md +8 -8
- package/skills/te-engage/references/config-item-strategy-comparison.md +14 -14
- package/skills/te-engage/references/config-item-trigger-report.md +26 -26
- package/skills/te-engage/references/copy-config-template.md +16 -16
- package/skills/te-engage/references/delete-channel.md +11 -11
- package/skills/te-engage/references/delete-config-channel.md +11 -11
- package/skills/te-engage/references/delete-config-item.md +12 -12
- package/skills/te-engage/references/delete-flow.md +11 -11
- package/skills/te-engage/references/flow-ab-split-node-report.md +29 -29
- package/skills/te-engage/references/flow-detail.md +19 -19
- package/skills/te-engage/references/flow-list.md +8 -8
- package/skills/te-engage/references/flow-node-config-schema.md +11 -11
- package/skills/te-engage/references/flow-node-detail-report.md +30 -30
- package/skills/te-engage/references/flow-node-overview-report.md +27 -27
- package/skills/te-engage/references/flow-process-report.md +32 -32
- package/skills/te-engage/references/manage-flow.md +44 -44
- package/skills/te-engage/references/manage-strategy.md +37 -37
- package/skills/te-engage/references/manage-task.md +20 -20
- package/skills/te-engage/references/modify-flow-base-info.md +14 -14
- package/skills/te-engage/references/save-flow.md +264 -263
- package/skills/te-engage/references/strategy-detail.md +16 -16
- package/skills/te-engage/references/strategy-list.md +10 -10
- package/skills/te-engage/references/task-data-detail.md +47 -47
- package/skills/te-engage/references/task-data-overview.md +23 -23
- package/skills/te-engage/references/task-detail.md +18 -18
- package/skills/te-engage/references/task-experiment-report.md +26 -26
- package/skills/te-engage/references/task-list.md +35 -35
- package/skills/te-engage/references/task-metric-detail.md +31 -31
- package/skills/te-engage/references/task-stats.md +31 -31
- package/skills/te-engage/references/update-channel-status.md +13 -13
- package/skills/te-engage/references/update-config-channel-status.md +14 -14
- package/skills/te-engage/references/validate-flow-node-config.md +15 -15
- package/skills/te-engage/references/whitelist-list.md +8 -8
- package/skills/te-meta/SKILL.md +5 -5
- package/skills/te-meta/references/batch-create-metadata.md +4 -4
- package/skills/te-meta/references/batch-edit-metadata.md +3 -3
- package/skills/te-meta/references/create-metric.md +12 -12
- package/skills/te-meta/references/create-project-mark-time.md +4 -4
- package/skills/te-meta/references/create-virtual-event.md +10 -10
- package/skills/te-meta/references/create-virtual-property.md +8 -8
- package/skills/te-meta/references/delete-project-mark-times.md +3 -3
- package/skills/te-meta/references/delete-track-items.md +3 -3
- package/skills/te-meta/references/get-metric.md +3 -3
- package/skills/te-meta/references/get-project-config.md +3 -3
- package/skills/te-meta/references/get-track-program.md +3 -3
- package/skills/te-meta/references/list-entities.md +4 -4
- package/skills/te-meta/references/list-events.md +4 -4
- package/skills/te-meta/references/list-metrics.md +4 -4
- package/skills/te-meta/references/list-project-mark-times.md +4 -4
- package/skills/te-meta/references/list-project-users.md +3 -3
- package/skills/te-meta/references/list-properties.md +4 -4
- package/skills/te-meta/references/save-track-items.md +3 -3
- package/skills/te-meta/references/update-metric.md +10 -10
- package/skills/te-meta/references/update-project-mark-time.md +4 -4
- package/skills/te-shared/SKILL.md +8 -8
- package/skills/te-community/references/community-release-analysis.md +0 -79
- package/skills/te-dataops/references/dataops-operations.md +0 -107
|
@@ -1,645 +1,643 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: te-dataops
|
|
3
3
|
version: 2.0.0
|
|
4
|
-
description: "TE
|
|
4
|
+
description: "TE Data Development and Operations: Data warehouse management, flow orchestration, IDE queries, data integration, operations and backfill management"
|
|
5
5
|
metadata:
|
|
6
6
|
requires:
|
|
7
|
-
bins: ["
|
|
8
|
-
cliHelp: "
|
|
7
|
+
bins: ["ae-cli"]
|
|
8
|
+
cliHelp: "ae-cli dataops_repo --help, ae-cli dataops_datatable --help, ae-cli dataops_flow --help, ae-cli dataops_ide --help, ae-cli dataops_integration --help, ae-cli dataops_operations --help"
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# te-dataops
|
|
12
12
|
|
|
13
|
-
>
|
|
13
|
+
> **Prerequisites:** Before using this skill, please read [`te-shared/SKILL.md`](../te-shared/SKILL.md) to understand authentication, global parameters, and security constraints.
|
|
14
14
|
|
|
15
|
-
TE
|
|
15
|
+
The TE Data Development and Operations domain provides capabilities for data warehouse management, flow orchestration, IDE SQL queries, data integration, operations and backfill management, including the following subcommands:
|
|
16
16
|
|
|
17
|
-
|
|
|
18
|
-
|
|
19
|
-
| `dataops_repo` |
|
|
20
|
-
| `dataops_datatable` |
|
|
21
|
-
| `dataops_flow` |
|
|
22
|
-
| `dataops_flow` |
|
|
23
|
-
| `dataops_ide` |
|
|
24
|
-
| `dataops_integration` |
|
|
25
|
-
| `dataops_operations` |
|
|
17
|
+
| Subcommand | Responsibility | Corresponding Scenario Skill |
|
|
18
|
+
|------------|----------------|------------------------------|
|
|
19
|
+
| `dataops_repo` | Space and resource management | — |
|
|
20
|
+
| `dataops_datatable` | Data table and view management | `dataops-table` |
|
|
21
|
+
| `dataops_flow` | Flow creation and orchestration | `dataops-flow-create` |
|
|
22
|
+
| `dataops_flow` | Flow execution and monitoring | `dataops-flow-monitor` |
|
|
23
|
+
| `dataops_ide` | Data exploration and SQL queries | `dataops-query` |
|
|
24
|
+
| `dataops_integration` | Datasource and data integration | `dataops-integration` |
|
|
25
|
+
| `dataops_operations` | Operations and backfill management | `dataops-operations` |
|
|
26
26
|
|
|
27
27
|
---
|
|
28
28
|
|
|
29
|
-
##
|
|
29
|
+
## Core Concepts and Rules
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
You must understand the following key concepts before use, otherwise errors are highly likely.
|
|
32
32
|
|
|
33
|
-
### ID
|
|
33
|
+
### ID System (Not Interchangeable)
|
|
34
34
|
|
|
35
|
-
| ID |
|
|
36
|
-
|
|
37
|
-
| **executeId** | `dataops_flow +execute_flow`
|
|
38
|
-
| **flowInstanceId** | `dataops_operations +search_flow_instances`
|
|
35
|
+
| ID | Source | Usage Scope |
|
|
36
|
+
|----|--------|-------------|
|
|
37
|
+
| **executeId** | Returned by `dataops_flow +execute_flow` / obtained via `+list_flow_instances` | All execution-related commands in `dataops_flow` |
|
|
38
|
+
| **flowInstanceId** | Obtained via `dataops_operations +search_flow_instances` | All operations commands in `dataops_operations` |
|
|
39
39
|
|
|
40
|
-
> **executeId
|
|
40
|
+
> **executeId and flowInstanceId are not interchangeable.** `dataops_flow` tools use executeId, `dataops_operations` tools use flowInstanceId.
|
|
41
41
|
|
|
42
|
-
###
|
|
42
|
+
### Environment and Defaults
|
|
43
43
|
|
|
44
|
-
|
|
|
45
|
-
|
|
46
|
-
|
|
|
47
|
-
| `+list_flow_instances`
|
|
48
|
-
| `dataops_operations`
|
|
44
|
+
| Scenario | Default Environment | Description |
|
|
45
|
+
|----------|---------------------|-------------|
|
|
46
|
+
| Most flow/ide/datatable commands | `DEV` | Development environment |
|
|
47
|
+
| `+list_flow_instances` instance list | **PROD** | Operations scenarios default to production |
|
|
48
|
+
| All `dataops_operations` commands | **PROD** | Operations perspective focuses on production |
|
|
49
49
|
|
|
50
|
-
### Schema
|
|
50
|
+
### Schema Naming Rules
|
|
51
51
|
|
|
52
|
-
- DEV
|
|
53
|
-
- PROD
|
|
52
|
+
- DEV environment: `ws_${spaceCode}_dev`
|
|
53
|
+
- PROD environment: `ws_${spaceCode}_product`
|
|
54
54
|
|
|
55
|
-
###
|
|
55
|
+
### Responsibility Boundaries
|
|
56
56
|
|
|
57
|
-
|
|
|
58
|
-
|
|
59
|
-
|
|
|
60
|
-
|
|
|
61
|
-
|
|
|
57
|
+
| Operation | Correct Tool | Prohibited |
|
|
58
|
+
|-----------|--------------|------------|
|
|
59
|
+
| Execute SELECT queries | `dataops_ide` | — |
|
|
60
|
+
| Create/modify/delete data tables (DDL) | `dataops_datatable` | `dataops_ide` |
|
|
61
|
+
| Execute DDL on external datasources | `dataops_integration +execute_sql` | — |
|
|
62
62
|
|
|
63
|
-
###
|
|
63
|
+
### Flow Lifecycle
|
|
64
64
|
|
|
65
65
|
```
|
|
66
|
-
|
|
66
|
+
Create Flow → Create Task Nodes → Save Task Definitions → Configure Dependencies → Configure Schedule → DEV Testing → Release to PROD
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
### CRON
|
|
69
|
+
### CRON Format (6 fields)
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
- `0 0 2 * * ?` —
|
|
73
|
-
- `0 0 */4 * * ?` —
|
|
74
|
-
- `0 30 8 * * 1-5` —
|
|
71
|
+
`second minute hour day month weekday` — Note: one more "second" field than standard 5-field format.
|
|
72
|
+
- `0 0 2 * * ?` — Daily at 2 AM
|
|
73
|
+
- `0 0 */4 * * ?` — Every 4 hours
|
|
74
|
+
- `0 30 8 * * 1-5` — Weekdays at 8:30
|
|
75
75
|
|
|
76
|
-
###
|
|
76
|
+
### Preset Repository vs Non-Preset Repository
|
|
77
77
|
|
|
78
|
-
-
|
|
79
|
-
-
|
|
78
|
+
- **Preset Repository (te_etl)**: `datasourceId` is `te_etl@TASK_ENGINE_TRINO`, database field is empty, requires `gatewayConfig`
|
|
79
|
+
- **Non-Preset Repository**: `datasourceId` is specific datasource ID, database field is required
|
|
80
80
|
|
|
81
81
|
---
|
|
82
82
|
|
|
83
|
-
##
|
|
83
|
+
## Scenario Routing
|
|
84
84
|
|
|
85
|
-
|
|
85
|
+
Choose the appropriate scenario skill based on user intent to get complete step-by-step workflow guidance.
|
|
86
86
|
|
|
87
|
-
|
|
|
88
|
-
|
|
89
|
-
|
|
|
90
|
-
|
|
|
91
|
-
|
|
|
92
|
-
|
|
|
93
|
-
|
|
|
94
|
-
|
|
|
87
|
+
| User Intent | Trigger Skill | Keywords |
|
|
88
|
+
|-------------|---------------|----------|
|
|
89
|
+
| Create flow, add nodes, configure schedule, release | `dataops-flow-create` | create flow, new workflow, configure schedule, add task node, release, cron, scheduled execution |
|
|
90
|
+
| View execution status, troubleshoot failures, view logs | `dataops-flow-monitor` | execute flow, running instance, monitor, logs, stop, DAG, troubleshoot |
|
|
91
|
+
| Create datasource, configure sync solution, execute sync | `dataops-integration` | datasource, sync, integration, sync, field mapping, data ingestion, MySQL, ClickHouse |
|
|
92
|
+
| Operations instance management, rerun failures, backfill operations | `dataops-operations` | operations, backfill, rerun, alert, operations, backfill |
|
|
93
|
+
| Browse metadata, search tables, execute SQL queries | `dataops-query` | query, SQL, data exploration, search tables, view table structure, IDE, catalog, select |
|
|
94
|
+
| Create tables, create views, batch create linked views | `dataops-table` | create table, table creation, view, data dictionary, linked view, linkview, DDL |
|
|
95
95
|
|
|
96
96
|
---
|
|
97
97
|
|
|
98
|
-
## 1.
|
|
98
|
+
## 1. Space and Resource Management
|
|
99
99
|
|
|
100
100
|
```bash
|
|
101
|
-
#
|
|
102
|
-
|
|
101
|
+
# Get space list (entry command, get spaceCode)
|
|
102
|
+
ae-cli dataops_repo +list_spaces
|
|
103
103
|
|
|
104
|
-
#
|
|
105
|
-
|
|
104
|
+
# Get repository list
|
|
105
|
+
ae-cli dataops_repo +list_repos --spaceCode "${spaceCode}"
|
|
106
106
|
|
|
107
|
-
#
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
# Browse repository structure
|
|
108
|
+
ae-cli dataops_repo +list_catalogs --spaceCode "${spaceCode}" --repoCode "te_etl"
|
|
109
|
+
ae-cli dataops_repo +list_schemas --spaceCode "${spaceCode}" --repoCode "te_etl" --catalog "hive"
|
|
110
110
|
|
|
111
|
-
#
|
|
112
|
-
|
|
111
|
+
# View space members
|
|
112
|
+
ae-cli dataops_repo +list_space_members --spaceCode "${spaceCode}"
|
|
113
113
|
|
|
114
|
-
#
|
|
115
|
-
|
|
114
|
+
# Add member
|
|
115
|
+
ae-cli dataops_repo +add_space_member --spaceCode "${spaceCode}" --openId "${openId}" --confirmed true
|
|
116
116
|
|
|
117
|
-
#
|
|
118
|
-
|
|
117
|
+
# View space parameters
|
|
118
|
+
ae-cli dataops_repo +list_support_params --spaceCode "${spaceCode}"
|
|
119
119
|
|
|
120
|
-
#
|
|
121
|
-
|
|
120
|
+
# Preview parameter expression
|
|
121
|
+
ae-cli dataops_repo +preview_param_expression --spaceCode "${spaceCode}" --expression '${ws_run_date}'
|
|
122
122
|
```
|
|
123
123
|
|
|
124
|
-
###
|
|
124
|
+
### Command Quick Reference
|
|
125
125
|
|
|
126
|
-
|
|
|
127
|
-
|
|
128
|
-
| `+list_spaces` |
|
|
129
|
-
| `+list_repos` |
|
|
130
|
-
| `+list_catalogs` |
|
|
131
|
-
| `+list_schemas` |
|
|
132
|
-
| `+list_space_members` |
|
|
133
|
-
| `+add_space_member` |
|
|
134
|
-
| `+list_support_params` |
|
|
135
|
-
| `+preview_param_expression` |
|
|
136
|
-
| `+list_param_used_flows` |
|
|
126
|
+
| Command | Purpose | Key Flags |
|
|
127
|
+
|---------|---------|-----------|
|
|
128
|
+
| `+list_spaces` | Space list | — |
|
|
129
|
+
| `+list_repos` | Repository list | `--spaceCode` |
|
|
130
|
+
| `+list_catalogs` | Catalog list | `--spaceCode` `--repoCode` |
|
|
131
|
+
| `+list_schemas` | Schema list | `--spaceCode` `--repoCode` `--catalog` |
|
|
132
|
+
| `+list_space_members` | Space members | `--spaceCode` |
|
|
133
|
+
| `+add_space_member` | Add member | `--spaceCode` `--openId` `--confirmed` |
|
|
134
|
+
| `+list_support_params` | Space parameters | `--spaceCode` |
|
|
135
|
+
| `+preview_param_expression` | Preview parameter | `--spaceCode` `--expression` |
|
|
136
|
+
| `+list_param_used_flows` | Flows using parameter | `--spaceCode` `--paramKey` |
|
|
137
137
|
|
|
138
138
|
---
|
|
139
139
|
|
|
140
|
-
## 2.
|
|
140
|
+
## 2. Data Table and View Management
|
|
141
141
|
|
|
142
|
-
>
|
|
142
|
+
> See `dataops-table` Skill for detailed step-by-step workflows.
|
|
143
143
|
|
|
144
|
-
###
|
|
144
|
+
### Typical Flow: Search → View → Create
|
|
145
145
|
|
|
146
146
|
```bash
|
|
147
|
-
#
|
|
148
|
-
|
|
147
|
+
# Search tables in data dictionary
|
|
148
|
+
ae-cli dataops_datatable +dict_search_tables --spaceCode "${spaceCode}" --search "user" --maxResults 20
|
|
149
149
|
|
|
150
|
-
#
|
|
151
|
-
|
|
150
|
+
# Get table details (field definitions, DDL, data lineage)
|
|
151
|
+
ae-cli dataops_datatable +get_table_detail --spaceCode "${spaceCode}" --tableName "dwd_user_info"
|
|
152
152
|
|
|
153
|
-
#
|
|
154
|
-
|
|
153
|
+
# Paginated query of registered tables
|
|
154
|
+
ae-cli dataops_datatable +list_tables_by_page --spaceCode "${spaceCode}" --search "user" --pageNum 1 --pageSize 20
|
|
155
155
|
|
|
156
|
-
#
|
|
157
|
-
|
|
156
|
+
# Get hierarchy by repository dimension
|
|
157
|
+
ae-cli dataops_datatable +struct_by_repo --spaceCode "${spaceCode}"
|
|
158
158
|
|
|
159
|
-
#
|
|
160
|
-
|
|
159
|
+
# Create physical table (DEV environment, DDL follows Trino specifications)
|
|
160
|
+
ae-cli dataops_datatable +create_table --spaceCode "${spaceCode}" \
|
|
161
161
|
--ddl "CREATE TABLE dwd_user_info (user_id VARCHAR, user_name VARCHAR, age INTEGER) WITH (format = 'ORC')" \
|
|
162
162
|
--repoCode "te_etl" --catalog "hive" --schema "ws_default_dev" --confirmed true
|
|
163
163
|
|
|
164
|
-
#
|
|
165
|
-
|
|
164
|
+
# Create PROD environment (same DDL, change schema to product database)
|
|
165
|
+
ae-cli dataops_datatable +create_table --spaceCode "${spaceCode}" \
|
|
166
166
|
--ddl "CREATE TABLE dwd_user_info (user_id VARCHAR, user_name VARCHAR, age INTEGER) WITH (format = 'ORC')" \
|
|
167
167
|
--repoCode "te_etl" --catalog "hive" --schema "ws_default_product" --confirmed true
|
|
168
168
|
|
|
169
|
-
#
|
|
170
|
-
|
|
169
|
+
# Create view
|
|
170
|
+
ae-cli dataops_datatable +create_view --spaceCode "${spaceCode}" \
|
|
171
171
|
--ddl "CREATE VIEW v_user_info AS SELECT user_id, user_name FROM hive.ws_default_dev.dwd_user_info" \
|
|
172
172
|
--repoCode "te_etl" --catalog "hive" --schema "ws_default_dev" --confirmed true
|
|
173
173
|
|
|
174
|
-
#
|
|
175
|
-
|
|
174
|
+
# Batch create linked views (async)
|
|
175
|
+
ae-cli dataops_datatable +batch_create --spaceCode "${spaceCode}" \
|
|
176
176
|
--srcRepoCode "te_etl" --srcCatalog "hive" --srcSchema "ws_default_hidden" \
|
|
177
177
|
--processType 2 --batchCreationMode 1 --owner "${ownerOpenId}" \
|
|
178
178
|
--viewInfos '[{"viewName":"v_orders","srcTableName":"ta_event_123","srcTableType":"TABLE"}]' \
|
|
179
179
|
--confirmed true
|
|
180
180
|
|
|
181
|
-
#
|
|
182
|
-
|
|
181
|
+
# Poll batch creation status (recommend 3-5 second interval)
|
|
182
|
+
ae-cli dataops_datatable +linkview_get_batch_status --spaceCode "${spaceCode}" --batchId "${batchId}"
|
|
183
183
|
```
|
|
184
184
|
|
|
185
|
-
###
|
|
186
|
-
|
|
187
|
-
|
|
|
188
|
-
|
|
189
|
-
| `+dict_search_tables` |
|
|
190
|
-
| `+get_table_detail` |
|
|
191
|
-
| `+list_tables_by_page` |
|
|
192
|
-
| `+struct_by_repo` |
|
|
193
|
-
| `+list_system_tables` |
|
|
194
|
-
| `+create_table` |
|
|
195
|
-
| `+create_view` |
|
|
196
|
-
| `+batch_create` |
|
|
197
|
-
| `+linkview_list_source_tables` |
|
|
198
|
-
| `+linkview_get_batch_status` |
|
|
199
|
-
| `+list_batches` |
|
|
200
|
-
|
|
201
|
-
###
|
|
202
|
-
|
|
203
|
-
- **schema
|
|
204
|
-
- **processType**: `1
|
|
205
|
-
- **batchCreationMode**: `1
|
|
206
|
-
-
|
|
207
|
-
- **DDL
|
|
185
|
+
### Command Quick Reference
|
|
186
|
+
|
|
187
|
+
| Command | Purpose | Key Flags |
|
|
188
|
+
|---------|---------|-----------|
|
|
189
|
+
| `+dict_search_tables` | Data dictionary search | `--spaceCode` `--search` `--maxResults` |
|
|
190
|
+
| `+get_table_detail` | Table details | `--spaceCode` `--tableName` |
|
|
191
|
+
| `+list_tables_by_page` | Paginated list | `--spaceCode` `--search` `--pageNum` `--pageSize` |
|
|
192
|
+
| `+struct_by_repo` | By repository hierarchy | `--spaceCode` `--search` |
|
|
193
|
+
| `+list_system_tables` | System table list | `--spaceCode` `--projectId`/`--projectName` `--pageNum` `--pageSize` |
|
|
194
|
+
| `+create_table` | Create physical table | `--spaceCode` `--ddl` `--repoCode` `--catalog` `--schema` `--confirmed` |
|
|
195
|
+
| `+create_view` | Create view | `--spaceCode` `--ddl` `--repoCode` `--catalog` `--schema` `--confirmed` |
|
|
196
|
+
| `+batch_create` | Batch create views | `--spaceCode` `--srcRepoCode` `--srcCatalog` `--srcSchema` `--processType` `--batchCreationMode` `--owner` `--viewInfos` `--confirmed` |
|
|
197
|
+
| `+linkview_list_source_tables` | Available source tables | `--spaceCode` `--srcRepoCode` `--srcCatalog` `--srcSchema` |
|
|
198
|
+
| `+linkview_get_batch_status` | Batch status | `--spaceCode` `--batchId` |
|
|
199
|
+
| `+list_batches` | Historical batch records | `--spaceCode` `--status` |
|
|
200
|
+
|
|
201
|
+
### Parameter Notes
|
|
202
|
+
|
|
203
|
+
- **schema naming**: DEV environment uses `ws_${spaceCode}_dev`, PROD environment uses `ws_${spaceCode}_product`
|
|
204
|
+
- **processType**: `1`=DEV only | `2`=DEV+PROD
|
|
205
|
+
- **batchCreationMode**: `1`=full sync | `2`=retry failures
|
|
206
|
+
- **Table name rule**: `^[a-z][0-9a-z_]{0,127}$`
|
|
207
|
+
- **DDL specification**: Follow Trino DDL syntax
|
|
208
208
|
|
|
209
209
|
---
|
|
210
210
|
|
|
211
|
-
## 3.
|
|
211
|
+
## 3. Flow Orchestration
|
|
212
212
|
|
|
213
|
-
|
|
213
|
+
Flow orchestration is divided into two scenario skills: **creation and configuration** and **execution and monitoring**.
|
|
214
214
|
|
|
215
|
-
### 3a.
|
|
215
|
+
### 3a. Creation and Configuration
|
|
216
216
|
|
|
217
|
-
>
|
|
217
|
+
> See `dataops-flow-create` Skill for detailed 8-step complete process.
|
|
218
218
|
|
|
219
|
-
|
|
219
|
+
**Lifecycle: Create → Configure Nodes → Configure Schedule → DEV Testing → Release to PROD**
|
|
220
220
|
|
|
221
221
|
```bash
|
|
222
|
-
#
|
|
223
|
-
|
|
224
|
-
--flowName "
|
|
222
|
+
# Create flow (returns flowCode)
|
|
223
|
+
ae-cli dataops_flow +create_flow --spaceCode "${spaceCode}" \
|
|
224
|
+
--flowName "Daily ETL Process" --remark "Process user data" --confirmed true
|
|
225
225
|
|
|
226
|
-
#
|
|
227
|
-
|
|
228
|
-
--flowCode "${flowCode}" --taskName "
|
|
226
|
+
# Create SQL task node (returns taskCode)
|
|
227
|
+
ae-cli dataops_flow +create_task --spaceCode "${spaceCode}" \
|
|
228
|
+
--flowCode "${flowCode}" --taskName "Process User Data" --taskType "TRINO_SQL" --confirmed true
|
|
229
229
|
|
|
230
|
-
#
|
|
231
|
-
|
|
232
|
-
--flowCode "${flowCode}" --taskName "
|
|
230
|
+
# Create task with upstream dependency
|
|
231
|
+
ae-cli dataops_flow +create_task --spaceCode "${spaceCode}" \
|
|
232
|
+
--flowCode "${flowCode}" --taskName "Export Results" --taskType "TRINO_SQL" \
|
|
233
233
|
--preTaskCode "${upstreamTaskCode}" --confirmed true
|
|
234
234
|
|
|
235
|
-
#
|
|
236
|
-
|
|
235
|
+
# Save task definition (SQL task)
|
|
236
|
+
ae-cli dataops_flow +save_task_definition --spaceCode "${spaceCode}" \
|
|
237
237
|
--flowCode "${flowCode}" --taskCode "${taskCode}" \
|
|
238
238
|
--taskContentJson '{"sql":"SELECT * FROM dwd_user","repoCode":"te_etl","catalog":"hive","schema":"ws_default_dev"}' \
|
|
239
239
|
--failRetryTimes 3 --failRetryInterval 30 --timeout 60 --confirmed true
|
|
240
240
|
|
|
241
|
-
#
|
|
242
|
-
|
|
241
|
+
# Validate SQL (recommended before saving)
|
|
242
|
+
ae-cli dataops_flow +validate_task_sql --spaceCode "${spaceCode}" \
|
|
243
243
|
--flowCode "${flowCode}" --taskCode "${taskCode}" \
|
|
244
244
|
--sql "SELECT * FROM dwd_user" --repoCode "te_etl" \
|
|
245
245
|
--catalog "hive" --schema "ws_default_dev"
|
|
246
246
|
|
|
247
|
-
#
|
|
248
|
-
|
|
247
|
+
# Add task dependency (DAG connection)
|
|
248
|
+
ae-cli dataops_flow +add_task_relation --spaceCode "${spaceCode}" \
|
|
249
249
|
--flowCode "${flowCode}" --preTaskCode "${upstreamTaskCode}" --taskCode "${downstreamTaskCode}" \
|
|
250
250
|
--confirmed true
|
|
251
251
|
|
|
252
|
-
#
|
|
253
|
-
|
|
252
|
+
# Configure scheduled execution (CRON 6 fields: second minute hour day month weekday)
|
|
253
|
+
ae-cli dataops_flow +save_schedule_config --spaceCode "${spaceCode}" \
|
|
254
254
|
--flowCode "${flowCode}" --scheduled 1 --scheduleType "CRON" \
|
|
255
255
|
--cron "0 0 2 * * ?" --confirmed true
|
|
256
256
|
|
|
257
|
-
# DEV
|
|
258
|
-
|
|
257
|
+
# Manual testing in DEV environment
|
|
258
|
+
ae-cli dataops_flow +execute_flow --spaceCode "${spaceCode}" \
|
|
259
259
|
--flowCode "${flowCode}" --env "DEV" --confirmed true
|
|
260
260
|
|
|
261
|
-
#
|
|
262
|
-
|
|
261
|
+
# Release to production (PROD schedule takes effect immediately, does not interrupt running instances)
|
|
262
|
+
ae-cli dataops_flow +release_flow --spaceCode "${spaceCode}" \
|
|
263
263
|
--flowCode "${flowCode}" --confirmed true
|
|
264
264
|
```
|
|
265
265
|
|
|
266
|
-
|
|
266
|
+
**Task Node Types:**
|
|
267
267
|
|
|
268
|
-
|
|
|
269
|
-
|
|
270
|
-
| TRINO_SQL | Trino SQL
|
|
271
|
-
| SHELL | Shell
|
|
272
|
-
| FLOW_CHECK |
|
|
273
|
-
| TASK_CHECK |
|
|
274
|
-
| OFFLINE_SYNC |
|
|
275
|
-
| APP_SYNC |
|
|
276
|
-
| PLACE_HOLDER |
|
|
268
|
+
| Type | Description | Typical Use |
|
|
269
|
+
|------|-------------|-------------|
|
|
270
|
+
| TRINO_SQL | Trino SQL query | Data processing, ETL |
|
|
271
|
+
| SHELL | Shell script | System commands, file operations |
|
|
272
|
+
| FLOW_CHECK | Flow check | Check if upstream flow is complete |
|
|
273
|
+
| TASK_CHECK | Task check | Check if specified task is complete |
|
|
274
|
+
| OFFLINE_SYNC | Offline sync | Integration solution data sync (requires syncId) |
|
|
275
|
+
| APP_SYNC | App sync | App table data sync (requires syncId) |
|
|
276
|
+
| PLACE_HOLDER | Placeholder | Flow control, logical grouping |
|
|
277
277
|
|
|
278
|
-
### 3b.
|
|
278
|
+
### 3b. Execution and Monitoring
|
|
279
279
|
|
|
280
|
-
>
|
|
280
|
+
> See `dataops-flow-monitor` Skill for detailed troubleshooting workflows.
|
|
281
281
|
|
|
282
282
|
```bash
|
|
283
|
-
#
|
|
284
|
-
|
|
283
|
+
# Search flows (get flowCode)
|
|
284
|
+
ae-cli dataops_flow +list_flows --spaceCode "${spaceCode}" --keyword "etl"
|
|
285
285
|
|
|
286
|
-
#
|
|
287
|
-
|
|
286
|
+
# View flow basic information
|
|
287
|
+
ae-cli dataops_flow +get_flow_detail --spaceCode "${spaceCode}" --flowCode "${flowCode}"
|
|
288
288
|
|
|
289
|
-
#
|
|
290
|
-
|
|
289
|
+
# View definition DAG (static structure)
|
|
290
|
+
ae-cli dataops_flow +get_flow_dag --spaceCode "${spaceCode}" --flowCode "${flowCode}"
|
|
291
291
|
|
|
292
|
-
#
|
|
293
|
-
|
|
292
|
+
# View schedule configuration
|
|
293
|
+
ae-cli dataops_flow +get_schedule_config --spaceCode "${spaceCode}" --flowCode "${flowCode}"
|
|
294
294
|
|
|
295
|
-
#
|
|
296
|
-
|
|
295
|
+
# View execution instance list (default PROD environment, sorted by time descending)
|
|
296
|
+
ae-cli dataops_flow +list_flow_instances --spaceCode "${spaceCode}" \
|
|
297
297
|
--flowCode "${flowCode}" --env "PROD" --size 30
|
|
298
298
|
|
|
299
|
-
#
|
|
300
|
-
|
|
299
|
+
# View runtime DAG (with execution status for each node)
|
|
300
|
+
ae-cli dataops_flow +get_execute_dag --spaceCode "${spaceCode}" --executeId "${executeId}"
|
|
301
301
|
|
|
302
|
-
#
|
|
303
|
-
|
|
302
|
+
# View execution record details
|
|
303
|
+
ae-cli dataops_flow +get_execute_record --spaceCode "${spaceCode}" --executeId "${executeId}"
|
|
304
304
|
|
|
305
|
-
#
|
|
306
|
-
|
|
305
|
+
# View task logs (get bsTaskInstanceId and taskCode from DAG)
|
|
306
|
+
ae-cli dataops_flow +get_task_instance_log --bsTaskInstanceId "${instanceId}" \
|
|
307
307
|
--taskCode "${taskCode}" --limit 100
|
|
308
308
|
|
|
309
|
-
#
|
|
310
|
-
|
|
309
|
+
# View task parameters
|
|
310
|
+
ae-cli dataops_flow +get_task_params --spaceCode "${spaceCode}" \
|
|
311
311
|
--flowCode "${flowCode}" --taskCode "${taskCode}"
|
|
312
312
|
|
|
313
|
-
#
|
|
314
|
-
|
|
313
|
+
# Manually trigger execution
|
|
314
|
+
ae-cli dataops_flow +execute_flow --spaceCode "${spaceCode}" \
|
|
315
315
|
--flowCode "${flowCode}" --env "DEV" --confirmed true
|
|
316
316
|
|
|
317
|
-
#
|
|
318
|
-
|
|
317
|
+
# Stop execution (irreversible)
|
|
318
|
+
ae-cli dataops_flow +stop_flow --spaceCode "${spaceCode}" \
|
|
319
319
|
--flowCode "${flowCode}" --executeId "${executeId}" --confirmed true
|
|
320
320
|
|
|
321
|
-
#
|
|
322
|
-
|
|
323
|
-
--flowCode "${flowCode}" --flowName "
|
|
321
|
+
# Update flow information
|
|
322
|
+
ae-cli dataops_flow +update_flow --spaceCode "${spaceCode}" \
|
|
323
|
+
--flowCode "${flowCode}" --flowName "New Name" --remark "New Remark" --confirmed true
|
|
324
324
|
```
|
|
325
325
|
|
|
326
|
-
###
|
|
327
|
-
|
|
328
|
-
|
|
|
329
|
-
|
|
330
|
-
| `+create_flow` |
|
|
331
|
-
| `+create_task` |
|
|
332
|
-
| `+save_task_definition` |
|
|
333
|
-
| `+validate_task_sql` |
|
|
334
|
-
| `+add_task_relation` |
|
|
335
|
-
| `+save_schedule_config` |
|
|
336
|
-
| `+get_schedule_config` |
|
|
337
|
-
| `+list_flows` |
|
|
338
|
-
| `+get_flow_detail` |
|
|
339
|
-
| `+get_flow_dag` |
|
|
340
|
-
| `+update_flow` |
|
|
341
|
-
| `+execute_flow` |
|
|
342
|
-
| `+stop_flow` |
|
|
343
|
-
| `+release_flow` |
|
|
344
|
-
| `+list_flow_instances` |
|
|
345
|
-
| `+get_execute_record` |
|
|
346
|
-
| `+get_execute_dag` |
|
|
347
|
-
| `+get_task_instance_log` |
|
|
348
|
-
| `+get_task_params` |
|
|
349
|
-
|
|
350
|
-
###
|
|
351
|
-
|
|
352
|
-
-
|
|
353
|
-
- **env**: `DEV
|
|
354
|
-
-
|
|
355
|
-
- **DAG
|
|
356
|
-
- **taskContentJson
|
|
326
|
+
### Command Quick Reference (Complete Flow Commands)
|
|
327
|
+
|
|
328
|
+
| Command | Purpose | Key Flags |
|
|
329
|
+
|---------|---------|-----------|
|
|
330
|
+
| `+create_flow` | Create flow | `--spaceCode` `--flowName` `--remark` `--confirmed` |
|
|
331
|
+
| `+create_task` | Create task node | `--spaceCode` `--flowCode` `--taskName` `--taskType` `--syncId` `--preTaskCode` `--confirmed` |
|
|
332
|
+
| `+save_task_definition` | Save task definition | `--spaceCode` `--flowCode` `--taskCode` `--taskContentJson` `--failRetryTimes` `--failRetryInterval` `--timeout` `--confirmed` |
|
|
333
|
+
| `+validate_task_sql` | Validate SQL | `--spaceCode` `--flowCode` `--taskCode` `--sql` `--repoCode` `--catalog` `--schema` |
|
|
334
|
+
| `+add_task_relation` | Add dependency | `--spaceCode` `--flowCode` `--preTaskCode` `--taskCode` `--confirmed` |
|
|
335
|
+
| `+save_schedule_config` | Configure schedule | `--spaceCode` `--flowCode` `--scheduled` `--scheduleType` `--cron` `--confirmed` |
|
|
336
|
+
| `+get_schedule_config` | View schedule | `--spaceCode` `--flowCode` `--env` |
|
|
337
|
+
| `+list_flows` | Search flows | `--spaceCode` `--keyword` |
|
|
338
|
+
| `+get_flow_detail` | Flow information | `--spaceCode` `--flowCode` `--env` |
|
|
339
|
+
| `+get_flow_dag` | Definition DAG | `--spaceCode` `--flowCode` `--env` |
|
|
340
|
+
| `+update_flow` | Update flow | `--spaceCode` `--flowCode` `--flowName` `--remark` `--confirmed` |
|
|
341
|
+
| `+execute_flow` | Manual execution | `--spaceCode` `--flowCode` `--env` `--confirmed` |
|
|
342
|
+
| `+stop_flow` | Stop execution | `--spaceCode` `--flowCode` `--executeId` `--confirmed` |
|
|
343
|
+
| `+release_flow` | Release to production | `--spaceCode` `--flowCode` `--confirmed` |
|
|
344
|
+
| `+list_flow_instances` | Instance list | `--spaceCode` `--flowCode` `--env` `--size` |
|
|
345
|
+
| `+get_execute_record` | Execution record | `--spaceCode` `--executeId` |
|
|
346
|
+
| `+get_execute_dag` | Runtime DAG | `--spaceCode` `--executeId` |
|
|
347
|
+
| `+get_task_instance_log` | Task logs | `--bsTaskInstanceId` `--taskCode` `--startOffset` `--limit` |
|
|
348
|
+
| `+get_task_params` | Task parameters | `--spaceCode` `--flowCode` `--taskCode` `--env` |
|
|
349
|
+
|
|
350
|
+
### Parameter Notes
|
|
351
|
+
|
|
352
|
+
- **Parameter reference**: Reference workspace parameters in tasks using `${paramKey}` (e.g., `${ws_run_date}`)
|
|
353
|
+
- **env**: `DEV` (development, default) | `PROD` (production)
|
|
354
|
+
- **Task status**: `success` / `failure` / `running` / `waiting`
|
|
355
|
+
- **DAG difference**: `+get_flow_dag` returns static definition structure, `+get_execute_dag` returns runtime structure with execution status
|
|
356
|
+
- **taskContentJson format** (varies by taskType):
|
|
357
357
|
- TRINO_SQL: `{"sql":"SELECT ...","repoCode":"xxx","catalog":"hive","schema":"db"}`
|
|
358
358
|
- SHELL: `{"script":"#!/bin/bash\n..."}`
|
|
359
359
|
|
|
360
360
|
---
|
|
361
361
|
|
|
362
|
-
## 4. IDE SQL
|
|
362
|
+
## 4. IDE SQL Queries
|
|
363
363
|
|
|
364
|
-
>
|
|
364
|
+
> See `dataops-query` Skill for detailed step-by-step workflows.
|
|
365
365
|
|
|
366
|
-
> **IDE
|
|
366
|
+
> **IDE only allows query operations (SELECT), prohibits creating/modifying/deleting data tables. Use `dataops_datatable` for table DDL operations.**
|
|
367
367
|
|
|
368
|
-
###
|
|
368
|
+
### Typical Flow: Browse Metadata → Search Tables → Execute Queries
|
|
369
369
|
|
|
370
370
|
```bash
|
|
371
|
-
#
|
|
372
|
-
|
|
371
|
+
# List available repositories
|
|
372
|
+
ae-cli dataops_ide +list_repos --spaceCode "${spaceCode}"
|
|
373
373
|
|
|
374
|
-
#
|
|
375
|
-
|
|
374
|
+
# List all catalogs and their schemas in repository
|
|
375
|
+
ae-cli dataops_ide +list_catalogs --spaceCode "${spaceCode}" --connType "SPACE" --repoCode "${repoCode}"
|
|
376
376
|
|
|
377
|
-
#
|
|
378
|
-
|
|
377
|
+
# List tables/views under schema
|
|
378
|
+
ae-cli dataops_ide +list_tables --spaceCode "${spaceCode}" --connType "SPACE" --repoCode "${repoCode}" \
|
|
379
379
|
--catalog "${catalog}" --schema "${schema}" --isView false --pageNum 1 --pageSize 100
|
|
380
380
|
|
|
381
|
-
#
|
|
382
|
-
|
|
381
|
+
# Get detailed table metadata (column definitions, DDL, partitions, row count)
|
|
382
|
+
ae-cli dataops_ide +get_table_detail --spaceCode "${spaceCode}" --connType "SPACE" --repoCode "${repoCode}" \
|
|
383
383
|
--catalog "${catalog}" --schema "${schema}" --tableName "${tableName}" \
|
|
384
384
|
--engineType "TASK_ENGINE_TRINO" --isView false
|
|
385
385
|
|
|
386
|
-
#
|
|
387
|
-
|
|
386
|
+
# Get schema statistics
|
|
387
|
+
ae-cli dataops_ide +get_schema_info --spaceCode "${spaceCode}" --connType "SPACE" --repoCode "${repoCode}" \
|
|
388
388
|
--catalog "${catalog}" --schema "${schema}"
|
|
389
389
|
|
|
390
|
-
#
|
|
391
|
-
|
|
390
|
+
# Fuzzy search tables across catalog/schema
|
|
391
|
+
ae-cli dataops_ide +search_tables --spaceCode "${spaceCode}" --connType "SPACE" --repoCode "${repoCode}" \
|
|
392
392
|
--searchKey "user" --size 20
|
|
393
393
|
|
|
394
|
-
#
|
|
395
|
-
|
|
394
|
+
# Fuzzy search column names across tables
|
|
395
|
+
ae-cli dataops_ide +search_columns --spaceCode "${spaceCode}" --repoCode "${repoCode}" \
|
|
396
396
|
--searchKey "user_id" --tables '[{"catalog":"hive","isView":false,"schema":"ws_default_dev","tableName":"dwd_user"}]' \
|
|
397
397
|
--engineType "TASK_ENGINE_TRINO" --pageNum 1 --pageSize 100
|
|
398
398
|
|
|
399
|
-
#
|
|
400
|
-
|
|
399
|
+
# Generate SELECT SQL based on table and column names
|
|
400
|
+
ae-cli dataops_ide +generate_sql --spaceCode "${spaceCode}" --repoCode "${repoCode}" \
|
|
401
401
|
--catalog "hive" --schema "ws_default_dev" --tableName "dwd_user" \
|
|
402
402
|
--engineType "TASK_ENGINE_TRINO" --selectColumns '["user_id","user_name","age"]'
|
|
403
403
|
```
|
|
404
404
|
|
|
405
|
-
### SQL
|
|
405
|
+
### SQL Async Query Flow (3 steps: Execute → Poll → Get Results)
|
|
406
406
|
|
|
407
407
|
```bash
|
|
408
|
-
# Step 1:
|
|
409
|
-
|
|
408
|
+
# Step 1: Execute SQL asynchronously (returns requestId)
|
|
409
|
+
ae-cli dataops_ide +execute_sql --spaceCode "${spaceCode}" --repoCode "te_etl" \
|
|
410
410
|
--sql "SELECT * FROM hive.ws_default_dev.dwd_user LIMIT 10" \
|
|
411
411
|
--engineType "TASK_ENGINE_TRINO" --confirmed true
|
|
412
412
|
|
|
413
|
-
# Step 2:
|
|
413
|
+
# Step 2: Query execution progress (recommend 2-5 second polling)
|
|
414
414
|
# state: QUEUED / RUNNING / FINISHED / FAILED / CANCELLED
|
|
415
|
-
|
|
415
|
+
ae-cli dataops_ide +get_query_progress --requestId "${requestId}"
|
|
416
416
|
|
|
417
|
-
# Step 3: state=FINISHED
|
|
418
|
-
|
|
417
|
+
# Step 3: Get results after state=FINISHED
|
|
418
|
+
ae-cli dataops_ide +get_query_result --spaceCode "${spaceCode}" --connType "SPACE" \
|
|
419
419
|
--repoCode "te_etl" --recordId "${recordId}"
|
|
420
420
|
|
|
421
|
-
#
|
|
422
|
-
|
|
421
|
+
# (Optional) Cancel running query
|
|
422
|
+
ae-cli dataops_ide +cancel_query --requestId "${requestId}" --confirmed true
|
|
423
423
|
```
|
|
424
424
|
|
|
425
|
-
###
|
|
426
|
-
|
|
427
|
-
|
|
|
428
|
-
|
|
429
|
-
| `+list_repos` |
|
|
430
|
-
| `+list_catalogs` |
|
|
431
|
-
| `+list_tables` |
|
|
432
|
-
| `+get_table_detail` |
|
|
433
|
-
| `+get_schema_info` |
|
|
434
|
-
| `+search_tables` |
|
|
435
|
-
| `+search_columns` |
|
|
436
|
-
| `+generate_sql` |
|
|
437
|
-
| `+execute_sql` |
|
|
438
|
-
| `+get_query_progress` |
|
|
439
|
-
| `+get_query_result` |
|
|
440
|
-
| `+cancel_query` |
|
|
441
|
-
|
|
442
|
-
###
|
|
443
|
-
|
|
444
|
-
- **connType**: `SPACE
|
|
445
|
-
- **engineType**: `TASK_ENGINE_TRINO
|
|
446
|
-
- **isView**: `false`
|
|
425
|
+
### Command Quick Reference
|
|
426
|
+
|
|
427
|
+
| Command | Purpose | Key Flags |
|
|
428
|
+
|---------|---------|-----------|
|
|
429
|
+
| `+list_repos` | List repositories | `--spaceCode` |
|
|
430
|
+
| `+list_catalogs` | List catalog/schema | `--spaceCode` `--connType` `--repoCode` |
|
|
431
|
+
| `+list_tables` | List tables | `--spaceCode` `--connType` `--repoCode` `--catalog` `--schema` `--isView` `--pageNum` `--pageSize` |
|
|
432
|
+
| `+get_table_detail` | Table metadata | `--spaceCode` `--connType` `--repoCode` `--catalog` `--schema` `--tableName` `--engineType` `--isView` |
|
|
433
|
+
| `+get_schema_info` | Schema statistics | `--spaceCode` `--connType` `--repoCode` `--catalog` `--schema` |
|
|
434
|
+
| `+search_tables` | Fuzzy search tables | `--spaceCode` `--connType` `--repoCode` `--searchKey` `--size` |
|
|
435
|
+
| `+search_columns` | Fuzzy search columns | `--spaceCode` `--repoCode` `--searchKey` `--tables` (JSON) `--engineType` `--pageNum` `--pageSize` |
|
|
436
|
+
| `+generate_sql` | Generate SELECT | `--spaceCode` `--repoCode` `--catalog` `--schema` `--tableName` `--engineType` `--selectColumns` (JSON) |
|
|
437
|
+
| `+execute_sql` | Execute SQL | `--spaceCode` `--repoCode` `--sql` `--engineType` `--confirmed` |
|
|
438
|
+
| `+get_query_progress` | Query progress | `--requestId` |
|
|
439
|
+
| `+get_query_result` | Get results | `--spaceCode` `--connType` `--repoCode` `--recordId` |
|
|
440
|
+
| `+cancel_query` | Cancel query | `--requestId` `--confirmed` |
|
|
441
|
+
|
|
442
|
+
### Parameter Notes
|
|
443
|
+
|
|
444
|
+
- **connType**: `SPACE` (data warehouse for daily queries, default) | `ETL` (ETL engine) | `APP` (app warehouse for external services)
|
|
445
|
+
- **engineType**: `TASK_ENGINE_TRINO` (default, interactive queries) | `TASK_ENGINE_STARROCKS` (real-time analytics, high concurrency)
|
|
446
|
+
- **isView**: `false` for physical tables | `true` for views
|
|
447
447
|
|
|
448
448
|
---
|
|
449
449
|
|
|
450
|
-
## 5.
|
|
450
|
+
## 5. Data Integration
|
|
451
451
|
|
|
452
|
-
>
|
|
452
|
+
> See `dataops-integration` Skill for detailed step-by-step workflows and JSON configuration templates.
|
|
453
453
|
|
|
454
|
-
>
|
|
454
|
+
> **Sync solution creation involves complex JSON configurations (sourceConfig/sinkConfig/channelConfig/fieldsMapping), be sure to refer to complete templates in `dataops-integration` Skill.**
|
|
455
455
|
|
|
456
|
-
###
|
|
456
|
+
### Typical Flow: Create Datasource → Browse Source Tables → Create Sync Solution → Execute
|
|
457
457
|
|
|
458
458
|
```bash
|
|
459
|
-
#
|
|
460
|
-
|
|
459
|
+
# View supported datasource component types
|
|
460
|
+
ae-cli dataops_integration +list_datasource_components
|
|
461
461
|
|
|
462
|
-
#
|
|
463
|
-
|
|
462
|
+
# Test datasource connection
|
|
463
|
+
ae-cli dataops_integration +test_datasource_connect --spaceCode "${spaceCode}" \
|
|
464
464
|
--componentName "MySQL" \
|
|
465
465
|
--configValue '{"host":"localhost","port":3306,"username":"root","password":"xxx","database":"test"}'
|
|
466
466
|
|
|
467
|
-
#
|
|
468
|
-
|
|
469
|
-
--componentName "MySQL" --dataSourceName "
|
|
467
|
+
# Create datasource
|
|
468
|
+
ae-cli dataops_integration +add_datasource --spaceCode "${spaceCode}" \
|
|
469
|
+
--componentName "MySQL" --dataSourceName "Production MySQL" \
|
|
470
470
|
--sharedConfig true \
|
|
471
471
|
--envJsonList '[{"host":"localhost","port":3306,"username":"root","password":"xxx"}]' \
|
|
472
472
|
--confirmed true
|
|
473
473
|
|
|
474
|
-
#
|
|
475
|
-
|
|
474
|
+
# View all datasources in workspace
|
|
475
|
+
ae-cli dataops_integration +list_space_datasources --spaceCode "${spaceCode}"
|
|
476
476
|
|
|
477
|
-
#
|
|
478
|
-
|
|
477
|
+
# View datasources available for sync (categorized by source/sink)
|
|
478
|
+
ae-cli dataops_integration +list_sync_datasources --spaceCode "${spaceCode}"
|
|
479
479
|
|
|
480
|
-
#
|
|
481
|
-
|
|
480
|
+
# Browse source databases and tables
|
|
481
|
+
ae-cli dataops_integration +list_datasource_databases --spaceCode "${spaceCode}" \
|
|
482
482
|
--datasourceId "${datasourceId}"
|
|
483
|
-
|
|
483
|
+
ae-cli dataops_integration +list_datasource_tables --spaceCode "${spaceCode}" \
|
|
484
484
|
--datasourceId "${datasourceId}" --database "test"
|
|
485
485
|
|
|
486
|
-
#
|
|
487
|
-
|
|
486
|
+
# Get table structure (column definitions, partitions)
|
|
487
|
+
ae-cli dataops_integration +get_table_structure --spaceCode "${spaceCode}" \
|
|
488
488
|
--datasourceId "${datasourceId}" --database "test" --tablePath "users"
|
|
489
489
|
|
|
490
|
-
#
|
|
491
|
-
|
|
492
|
-
--syncName "MySQL
|
|
490
|
+
# Create sync solution (requires complete JSON configuration, see dataops-integration Skill)
|
|
491
|
+
ae-cli dataops_integration +add_sync_solution --spaceCode "${spaceCode}" \
|
|
492
|
+
--syncName "MySQL to Preset Repository Sync" \
|
|
493
493
|
--srcComponent "MySQL" --srcDatasourceId "${mysqlDatasourceId}" \
|
|
494
494
|
--sinkComponent "hive" --sinkDatasourceId "te_etl@TASK_ENGINE_TRINO" \
|
|
495
495
|
--sourceConfig '...' --sinkConfig '...' --channelConfig '...' --fieldsMapping '...' \
|
|
496
496
|
--confirmed true
|
|
497
497
|
|
|
498
|
-
#
|
|
499
|
-
|
|
498
|
+
# Execute sync solution
|
|
499
|
+
ae-cli dataops_integration +exec_sync_solution --spaceCode "${spaceCode}" \
|
|
500
500
|
--syncId "${syncId}" --confirmed true
|
|
501
501
|
|
|
502
|
-
#
|
|
503
|
-
|
|
502
|
+
# View execution history
|
|
503
|
+
ae-cli dataops_integration +list_sync_exec_histories --spaceCode "${spaceCode}" \
|
|
504
504
|
--syncId "${syncId}" --limit 20
|
|
505
505
|
|
|
506
|
-
#
|
|
507
|
-
|
|
506
|
+
# View execution details
|
|
507
|
+
ae-cli dataops_integration +get_sync_exec_info --spaceCode "${spaceCode}" \
|
|
508
508
|
--syncId "${syncId}" --taskId "${taskId}"
|
|
509
509
|
|
|
510
|
-
#
|
|
511
|
-
|
|
510
|
+
# Stop sync execution
|
|
511
|
+
ae-cli dataops_integration +stop_sync_solution --spaceCode "${spaceCode}" \
|
|
512
512
|
--syncId "${syncId}" --taskId "${taskId}" --confirmed true
|
|
513
513
|
```
|
|
514
514
|
|
|
515
|
-
### JSON
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
|
520
|
-
|
|
521
|
-
| **sourceConfig** |
|
|
522
|
-
| **sinkConfig** |
|
|
523
|
-
| **channelConfig** |
|
|
524
|
-
| **fieldsMapping** |
|
|
525
|
-
|
|
526
|
-
>
|
|
527
|
-
|
|
528
|
-
###
|
|
529
|
-
|
|
530
|
-
|
|
|
531
|
-
|
|
532
|
-
| `+list_datasource_components` |
|
|
533
|
-
| `+list_space_datasources` |
|
|
534
|
-
| `+add_datasource` |
|
|
535
|
-
| `+test_datasource_connect` |
|
|
536
|
-
| `+modify_datasource` |
|
|
537
|
-
| `+online_datasource` |
|
|
538
|
-
| `+list_datasource_databases` |
|
|
539
|
-
| `+list_datasource_tables` |
|
|
540
|
-
| `+get_table_structure` |
|
|
541
|
-
| `+list_sync_datasources` |
|
|
542
|
-
| `+list_sync_solutions` |
|
|
543
|
-
| `+get_sync_detail` |
|
|
544
|
-
| `+add_sync_solution` |
|
|
545
|
-
| `+save_sync_solution` |
|
|
546
|
-
| `+exec_sync_solution` |
|
|
547
|
-
| `+list_sync_exec_histories` |
|
|
548
|
-
| `+get_sync_exec_info` |
|
|
549
|
-
| `+stop_sync_solution` |
|
|
550
|
-
| `+execute_sql` |
|
|
551
|
-
| `+validate_sql` |
|
|
515
|
+
### JSON Configuration Key Points
|
|
516
|
+
|
|
517
|
+
When creating sync solutions, the following JSON configurations must be strictly generated according to templates:
|
|
518
|
+
|
|
519
|
+
| Configuration | Description |
|
|
520
|
+
|---------------|-------------|
|
|
521
|
+
| **sourceConfig** | Source connection information (component, datasource ID, database, table) |
|
|
522
|
+
| **sinkConfig** | Target configuration (preset repository database is empty, non-preset repository database is required) |
|
|
523
|
+
| **channelConfig** | Channel configuration (must include gatewayConfig when involving preset repository) |
|
|
524
|
+
| **fieldsMapping** | Bidirectional field mapping (each field must include manual/partitionKey/primaryKey/shardingKey/sortingKey/upsertKey) |
|
|
525
|
+
|
|
526
|
+
> See `dataops-integration` Skill for complete JSON templates and conditional required parameters for components like MongoDB.
|
|
527
|
+
|
|
528
|
+
### Command Quick Reference
|
|
529
|
+
|
|
530
|
+
| Command | Purpose | Key Flags |
|
|
531
|
+
|---------|---------|-----------|
|
|
532
|
+
| `+list_datasource_components` | Supported components | — |
|
|
533
|
+
| `+list_space_datasources` | Workspace datasources | `--spaceCode` `--componentName` `--dataSourceName` |
|
|
534
|
+
| `+add_datasource` | Create datasource | `--spaceCode` `--componentName` `--dataSourceName` `--sharedConfig` `--envJsonList` `--confirmed` |
|
|
535
|
+
| `+test_datasource_connect` | Test connection | `--spaceCode` `--componentName` `--configValue` |
|
|
536
|
+
| `+modify_datasource` | Modify datasource | `--spaceCode` `--datasourceId` `--confirmed` |
|
|
537
|
+
| `+online_datasource` | Online datasource | `--spaceCode` `--datasourceId` `--confirmed` |
|
|
538
|
+
| `+list_datasource_databases` | List databases | `--spaceCode` `--datasourceId` |
|
|
539
|
+
| `+list_datasource_tables` | List tables | `--spaceCode` `--datasourceId` `--database` |
|
|
540
|
+
| `+get_table_structure` | Table structure | `--spaceCode` `--datasourceId` `--database` `--tablePath` |
|
|
541
|
+
| `+list_sync_datasources` | Sync datasources | `--spaceCode` |
|
|
542
|
+
| `+list_sync_solutions` | Sync solution list | `--spaceCode` |
|
|
543
|
+
| `+get_sync_detail` | Sync solution details | `--spaceCode` `--syncId` |
|
|
544
|
+
| `+add_sync_solution` | Create sync solution | `--spaceCode` `--syncName` `--srcComponent` `--srcDatasourceId` `--sinkComponent` `--sinkDatasourceId` `--sourceConfig` `--sinkConfig` `--channelConfig` `--fieldsMapping` `--confirmed` |
|
|
545
|
+
| `+save_sync_solution` | Update sync solution | `--spaceCode` `--syncId` `--confirmed` |
|
|
546
|
+
| `+exec_sync_solution` | Execute sync | `--spaceCode` `--syncId` `--confirmed` |
|
|
547
|
+
| `+list_sync_exec_histories` | Execution history | `--spaceCode` `--syncId` `--execType` `--limit` |
|
|
548
|
+
| `+get_sync_exec_info` | Execution details | `--spaceCode` `--syncId` `--taskId` |
|
|
549
|
+
| `+stop_sync_solution` | Stop sync | `--spaceCode` `--syncId` `--taskId` `--confirmed` |
|
|
550
|
+
| `+execute_sql` | External DDL execution | `--spaceCode` `--datasourceId` `--database` `--sql` `--confirmed` |
|
|
551
|
+
| `+validate_sql` | Validate SQL | `--spaceCode` `--datasourceId` `--database` `--sql` |
|
|
552
552
|
|
|
553
553
|
---
|
|
554
554
|
|
|
555
|
-
## 6.
|
|
555
|
+
## 6. Operations and Backfill Management
|
|
556
556
|
|
|
557
|
-
>
|
|
557
|
+
> See `dataops-operations` Skill for detailed step-by-step workflows.
|
|
558
558
|
|
|
559
|
-
>
|
|
559
|
+
> **Operations commands use flowInstanceId (not executeId), obtained via `+search_flow_instances`.**
|
|
560
560
|
|
|
561
|
-
###
|
|
561
|
+
### Typical Flow A: Operations Instance Query and Operations
|
|
562
562
|
|
|
563
563
|
```bash
|
|
564
|
-
#
|
|
565
|
-
|
|
564
|
+
# Search flow instances (supports filtering by status/owner/time)
|
|
565
|
+
ae-cli dataops_operations +search_flow_instances --spaceCode "${spaceCode}" \
|
|
566
566
|
--pageNum 1 --pageSize 20
|
|
567
567
|
|
|
568
|
-
#
|
|
569
|
-
|
|
568
|
+
# View all task nodes and execution status under instance
|
|
569
|
+
ae-cli dataops_operations +list_flow_task_instances --spaceCode "${spaceCode}" \
|
|
570
570
|
--flowInstanceId "${flowInstanceId}"
|
|
571
571
|
|
|
572
|
-
#
|
|
573
|
-
|
|
572
|
+
# Get task node definition details
|
|
573
|
+
ae-cli dataops_operations +get_task_definition --spaceCode "${spaceCode}" \
|
|
574
574
|
--flowInstanceId "${flowInstanceId}" --taskCode "${taskCode}"
|
|
575
575
|
|
|
576
|
-
#
|
|
577
|
-
|
|
576
|
+
# Rerun failed flow instance (continue from failed node)
|
|
577
|
+
ae-cli dataops_operations +rerun_flow_instance --spaceCode "${spaceCode}" \
|
|
578
578
|
--flowInstanceId "${flowInstanceId}" --confirmed true
|
|
579
579
|
|
|
580
|
-
#
|
|
581
|
-
|
|
580
|
+
# Stop running instance
|
|
581
|
+
ae-cli dataops_operations +stop_flow_instance --spaceCode "${spaceCode}" \
|
|
582
582
|
--flowInstanceId "${flowInstanceId}" --confirmed true
|
|
583
583
|
|
|
584
|
-
#
|
|
585
|
-
|
|
584
|
+
# Control instance running status (pause/force pause/resume)
|
|
585
|
+
ae-cli dataops_operations +control_flow_instance --spaceCode "${spaceCode}" \
|
|
586
586
|
--flowInstanceId "${flowInstanceId}" --action "PAUSE" --confirmed true
|
|
587
587
|
```
|
|
588
588
|
|
|
589
|
-
###
|
|
590
|
-
|
|
591
|
-
补数任务用于批量重跑历史数据。
|
|
589
|
+
### Typical Flow B: Backfill Task Management
|
|
592
590
|
|
|
593
591
|
```bash
|
|
594
|
-
#
|
|
595
|
-
|
|
592
|
+
# Query backfill task list
|
|
593
|
+
ae-cli dataops_operations +list_flow_jobs --spaceCode "${spaceCode}" \
|
|
596
594
|
--pageNum 1 --pageSize 20
|
|
597
595
|
|
|
598
|
-
#
|
|
599
|
-
|
|
596
|
+
# Get backfill task details (configuration, date range, concurrency settings)
|
|
597
|
+
ae-cli dataops_operations +get_flow_job_detail --spaceCode "${spaceCode}" \
|
|
600
598
|
--jobId "${jobId}"
|
|
601
599
|
|
|
602
|
-
#
|
|
603
|
-
|
|
600
|
+
# Get backfill task execution plan list (status for each date)
|
|
601
|
+
ae-cli dataops_operations +list_flow_job_plans --spaceCode "${spaceCode}" \
|
|
604
602
|
--jobId "${jobId}"
|
|
605
603
|
|
|
606
|
-
#
|
|
607
|
-
|
|
604
|
+
# Stop running backfill task
|
|
605
|
+
ae-cli dataops_operations +stop_flow_job --spaceCode "${spaceCode}" \
|
|
608
606
|
--jobId "${jobId}" --confirmed true
|
|
609
607
|
```
|
|
610
608
|
|
|
611
|
-
###
|
|
609
|
+
### Typical Flow C: Task Node Instance Query
|
|
612
610
|
|
|
613
611
|
```bash
|
|
614
|
-
#
|
|
615
|
-
|
|
612
|
+
# Search task node instances (supports filtering by status/type/time)
|
|
613
|
+
ae-cli dataops_operations +search_task_instances --spaceCode "${spaceCode}" \
|
|
616
614
|
--pageNum 1 --pageSize 20
|
|
617
615
|
```
|
|
618
616
|
|
|
619
|
-
###
|
|
617
|
+
### Command Quick Reference
|
|
620
618
|
|
|
621
|
-
|
|
|
622
|
-
|
|
623
|
-
| `+search_flow_instances` |
|
|
624
|
-
| `+list_flow_task_instances` |
|
|
625
|
-
| `+get_task_definition` |
|
|
626
|
-
| `+rerun_flow_instance` |
|
|
627
|
-
| `+stop_flow_instance` |
|
|
628
|
-
| `+control_flow_instance` |
|
|
629
|
-
| `+search_task_instances` |
|
|
630
|
-
| `+list_flow_jobs` |
|
|
631
|
-
| `+get_flow_job_detail` |
|
|
632
|
-
| `+list_flow_job_plans` |
|
|
633
|
-
| `+stop_flow_job` |
|
|
619
|
+
| Command | Purpose | Key Flags |
|
|
620
|
+
|---------|---------|-----------|
|
|
621
|
+
| `+search_flow_instances` | Search flow instances | `--spaceCode` `--pageNum` `--pageSize` |
|
|
622
|
+
| `+list_flow_task_instances` | Instance task nodes | `--spaceCode` `--flowInstanceId` |
|
|
623
|
+
| `+get_task_definition` | Task node definition | `--spaceCode` `--flowInstanceId` `--taskCode` |
|
|
624
|
+
| `+rerun_flow_instance` | Rerun instance | `--spaceCode` `--flowInstanceId` `--confirmed` |
|
|
625
|
+
| `+stop_flow_instance` | Stop instance | `--spaceCode` `--flowInstanceId` `--confirmed` |
|
|
626
|
+
| `+control_flow_instance` | Control instance status | `--spaceCode` `--flowInstanceId` `--action` `--confirmed` |
|
|
627
|
+
| `+search_task_instances` | Search task instances | `--spaceCode` `--pageNum` `--pageSize` |
|
|
628
|
+
| `+list_flow_jobs` | Backfill task list | `--spaceCode` `--pageNum` `--pageSize` |
|
|
629
|
+
| `+get_flow_job_detail` | Backfill task details | `--spaceCode` `--jobId` |
|
|
630
|
+
| `+list_flow_job_plans` | Backfill execution plan | `--spaceCode` `--jobId` |
|
|
631
|
+
| `+stop_flow_job` | Stop backfill task | `--spaceCode` `--jobId` `--confirmed` |
|
|
634
632
|
|
|
635
|
-
###
|
|
633
|
+
### Parameter Notes
|
|
636
634
|
|
|
637
|
-
- **action**: `PAUSE
|
|
638
|
-
-
|
|
639
|
-
- **flowInstanceId vs executeId**:
|
|
635
|
+
- **action**: `PAUSE` (pause) | `FORCE_PAUSE` (force pause) | `RESUME` (resume)
|
|
636
|
+
- **Instance status**: `RUNNING` / `SUCCESS` / `FAILURE` / `WAITING` / `STOPPED`
|
|
637
|
+
- **flowInstanceId vs executeId**: Operations tools use flowInstanceId, flow tools use executeId, **not interchangeable**
|
|
640
638
|
|
|
641
639
|
---
|
|
642
640
|
|
|
643
|
-
##
|
|
641
|
+
## Reference Documentation
|
|
644
642
|
|
|
645
|
-
|
|
643
|
+
For detailed command flags and usage, please refer to the command documentation in the [`references/`](./references/) directory.
|