Skip to content

Commit 9ab321b

Browse files
authored
fix: create topic template (#1910)
1 parent 4d9c2b6 commit 9ab321b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/Tenant/utils/schemaQueryTemplates.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export const createExternalTableTemplate = (params?: SchemaQueryParams) => {
128128
};
129129

130130
export const createTopicTemplate = (params?: SchemaQueryParams) => {
131-
const path = params?.relativePath ? `\`${params?.relativePath}\`/my_topic` : '${1:my_topic}';
131+
const path = params?.relativePath ? `\`${params?.relativePath}/my_topic\`` : '${1:my_topic}';
132132
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/create-topic
133133
CREATE TOPIC ${path} (
134134
CONSUMER consumer1,

0 commit comments

Comments
 (0)