From c0922c8112135db14a9f7ff61827b316a0bb8e61 Mon Sep 17 00:00:00 2001 From: Elena Makarova Date: Fri, 20 Dec 2024 10:14:15 +0300 Subject: [PATCH] fix: create view template text --- src/containers/Tenant/utils/schemaQueryTemplates.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/Tenant/utils/schemaQueryTemplates.ts b/src/containers/Tenant/utils/schemaQueryTemplates.ts index de4c4689e..602380d7f 100644 --- a/src/containers/Tenant/utils/schemaQueryTemplates.ts +++ b/src/containers/Tenant/utils/schemaQueryTemplates.ts @@ -178,7 +178,7 @@ export const dropTopicTemplate = (params?: SchemaQueryParams) => { }; export const createViewTemplate = (params?: SchemaQueryParams) => { - const path = params?.relativePath ? `\`${params?.relativePath}\`/my_view` : '${1:my_view}'; + const path = params?.relativePath ? `\`${params?.relativePath}/my_view\`` : '${1:my_view}'; return `CREATE VIEW ${path} WITH (security_invoker = TRUE) AS SELECT 1;`; };