This is an automated email from the ASF dual-hosted git repository.

SbloodyS pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new d6ff33adb9 [Fix-18446] [task-sql] Persist sqlSource and sqlResource 
fields when saving SQL task node (#18447)
d6ff33adb9 is described below

commit d6ff33adb91b90fd30b1b3b3c31022ccbb7788bc
Author: huangrunxing <[email protected]>
AuthorDate: Thu Jul 30 14:10:19 2026 +0800

    [Fix-18446] [task-sql] Persist sqlSource and sqlResource fields when saving 
SQL task node (#18447)
---
 .../src/views/projects/task/components/node/format-data.ts              | 2 ++
 dolphinscheduler-ui/src/views/projects/task/components/node/types.ts    | 2 ++
 2 files changed, 4 insertions(+)

diff --git 
a/dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts 
b/dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts
index a7754cb24d..7eace75e52 100644
--- a/dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts
+++ b/dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts
@@ -205,6 +205,8 @@ export function formatParams(data: INodeData): {
     taskParams.type = data.type
     taskParams.datasource = data.datasource
     taskParams.sql = data.sql
+    taskParams.sqlSource = data.sqlSource
+    taskParams.sqlResource = data.sqlResource
     taskParams.sqlType = data.sqlType
     taskParams.preStatements = data.preStatements
     taskParams.postStatements = data.postStatements
diff --git 
a/dolphinscheduler-ui/src/views/projects/task/components/node/types.ts 
b/dolphinscheduler-ui/src/views/projects/task/components/node/types.ts
index 218f318db0..64aec7690b 100644
--- a/dolphinscheduler-ui/src/views/projects/task/components/node/types.ts
+++ b/dolphinscheduler-ui/src/views/projects/task/components/node/types.ts
@@ -304,6 +304,8 @@ interface ITaskParams {
   type?: string
   datasource?: string
   sql?: string
+  sqlSource?: string
+  sqlResource?: string
   sqlType?: string
   sendEmail?: boolean
   displayRows?: number

Reply via email to