File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
src/containers/Tenant/utils Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -82,17 +82,17 @@ export const createTransferTemplate = () => {
8282 return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/create-transfer
8383CREATE OBJECT secret_name (TYPE SECRET) WITH value="secret_value";
8484
85- $l = ($x) -> {
85+ \\ $l = (\\ $x) -> {
8686 return [
8787 <|
88- offset:$x._offset,
89- message:$x._data
88+ offset:\\ $x._offset,
89+ message:\\ $x._data
9090 |>
9191 ];
9292};
9393
9494CREATE TRANSFER my_transfer
95- FROM \${1:<original_topic>} TO \${2:target_table} USING $l
95+ FROM \${1:<original_topic>} TO \${2:< target_table> } USING \\ $l
9696WITH (
9797 CONNECTION_STRING="\${3:grpcs://mydb.ydb.tech:2135/?database=/remote_database}",
9898 TOKEN_SECRET_NAME = "secret_name"
@@ -285,17 +285,17 @@ export const alterTransferTemplate = (params?: SchemaQueryParams) => {
285285 : '${1:<my_transfer>}' ;
286286 return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/alter-transfer
287287
288- $l = ($x) -> {
288+ \\ $l = (\\ $x) -> {
289289 return [
290290 <|
291- offset:$x._offset,
292- message:$x._data
291+ offset:\\ $x._offset,
292+ message:\\ $x._data
293293 |>
294294 ];
295295};
296296
297297ALTER TRANSFER ${ path }
298- SET USING $l;` ;
298+ SET USING \\ $l;` ;
299299} ;
300300
301301export const addTableIndex = ( params ?: SchemaQueryParams ) => {
You can’t perform that action at this time.
0 commit comments