Skip to content

Commit 4773ce8

Browse files
authored
fix: create view template text (#1772)
1 parent 640dd97 commit 4773ce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/Tenant/utils/schemaQueryTemplates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export const dropTopicTemplate = (params?: SchemaQueryParams) => {
178178
};
179179

180180
export const createViewTemplate = (params?: SchemaQueryParams) => {
181-
const path = params?.relativePath ? `\`${params?.relativePath}\`/my_view` : '${1:my_view}';
181+
const path = params?.relativePath ? `\`${params?.relativePath}/my_view\`` : '${1:my_view}';
182182
return `CREATE VIEW ${path} WITH (security_invoker = TRUE) AS SELECT 1;`;
183183
};
184184

0 commit comments

Comments
 (0)