@@ -20,6 +20,7 @@ import {
2020 alterTableTemplate ,
2121 alterTopicTemplate ,
2222 createAsyncReplicationTemplate ,
23+ createCdcStreamTemplate ,
2324 createColumnTableTemplate ,
2425 createExternalTableTemplate ,
2526 createTableTemplate ,
@@ -28,6 +29,7 @@ import {
2829 dropAsyncReplicationTemplate ,
2930 dropExternalTableTemplate ,
3031 dropTableIndex ,
32+ dropTableTemplate ,
3133 dropTopicTemplate ,
3234 dropViewTemplate ,
3335 selectQueryTemplate ,
@@ -100,6 +102,7 @@ const bindActions = (
100102 alterAsyncReplication : inputQuery ( alterAsyncReplicationTemplate , 'script' ) ,
101103 dropAsyncReplication : inputQuery ( dropAsyncReplicationTemplate , 'script' ) ,
102104 alterTable : inputQuery ( alterTableTemplate , 'script' ) ,
105+ dropTable : inputQuery ( dropTableTemplate , 'script' ) ,
103106 selectQuery : inputQuery ( selectQueryTemplate ) ,
104107 upsertQuery : inputQuery ( upsertQueryTemplate ) ,
105108 createExternalTable : inputQuery ( createExternalTableTemplate , 'script' ) ,
@@ -112,6 +115,7 @@ const bindActions = (
112115 dropView : inputQuery ( dropViewTemplate , 'script' ) ,
113116 dropIndex : inputQuery ( dropTableIndex , 'script' ) ,
114117 addTableIndex : inputQuery ( addTableIndex , 'script' ) ,
118+ createCdcStream : inputQuery ( createCdcStreamTemplate , 'script' ) ,
115119 copyPath : ( ) => {
116120 try {
117121 copy ( params . relativePath ) ;
@@ -166,9 +170,11 @@ export const getActions =
166170 [ copyItem ] ,
167171 [
168172 { text : i18n ( 'actions.alterTable' ) , action : actions . alterTable } ,
173+ { text : i18n ( 'actions.dropTable' ) , action : actions . dropTable } ,
169174 { text : i18n ( 'actions.selectQuery' ) , action : actions . selectQuery } ,
170175 { text : i18n ( 'actions.upsertQuery' ) , action : actions . upsertQuery } ,
171176 { text : i18n ( 'actions.addTableIndex' ) , action : actions . addTableIndex } ,
177+ { text : i18n ( 'actions.createCdcStream' ) , action : actions . createCdcStream } ,
172178 ] ,
173179 ] ;
174180
0 commit comments