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

lidongdai 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 1b6dbde470 [Improvement-13884][UI] Improve the UI of flink sql task 
(#13885)
1b6dbde470 is described below

commit 1b6dbde470331ed11ce96cf4af32f266b6d6f93f
Author: Rick Cheng <[email protected]>
AuthorDate: Sun Apr 9 11:17:23 2023 +0800

    [Improvement-13884][UI] Improve the UI of flink sql task (#13885)
---
 .../src/views/projects/task/components/node/fields/use-flink.ts        | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-flink.ts
 
b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-flink.ts
index fc9426794b..9efde03d6c 100644
--- 
a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-flink.ts
+++ 
b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-flink.ts
@@ -165,6 +165,9 @@ export function useFlink(model: { [field: string]: any }): 
IJsonItem[] {
       field: 'rawScript',
       span: scriptSpan,
       name: t('project.node.script'),
+      props: {
+        language: 'sql'
+      },
       validate: {
         trigger: ['input', 'trigger'],
         required: true,

Reply via email to