You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ch...@apache.org on 2022/08/26 11:03:57 UTC
[dolphinscheduler] branch dev updated: [Feature][UI] Enable highlight and auto-complete for SQL scripts (#11659)
This is an automated email from the ASF dual-hosted git repository.
chufenggao 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 23d8aaf735 [Feature][UI] Enable highlight and auto-complete for SQL scripts (#11659)
23d8aaf735 is described below
commit 23d8aaf735496aa10f1984433f19eccaa8ca788f
Author: Eric Gao <er...@gmail.com>
AuthorDate: Fri Aug 26 19:03:44 2022 +0800
[Feature][UI] Enable highlight and auto-complete for SQL scripts (#11659)
---
.../src/views/projects/task/components/node/fields/use-sql.ts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql.ts
index 602f3d6790..46e489d40e 100644
--- a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql.ts
+++ b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql.ts
@@ -43,6 +43,9 @@ export function useSql(model: { [field: string]: any }): IJsonItem[] {
trigger: ['input', 'trigger'],
required: true,
message: t('project.node.sql_empty_tips')
+ },
+ props: {
+ language: 'sql'
}
},
useUdfs(model),