File tree Expand file tree Collapse file tree 3 files changed +16
-7
lines changed
components/lineage/converters Expand file tree Collapse file tree 3 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ const getOutputEdgeColor = (
4646) : string => {
4747 for ( const type of relation . types ) {
4848 switch ( type ) {
49+ case "DELETE" :
4950 case "DROP" :
5051 case "TRUNCATE" :
5152 return "red" ;
Original file line number Diff line number Diff line change @@ -192,11 +192,15 @@ interface InputRelationLineageResponseV1 extends BaseRelationLineageResponseV1 {
192192
193193type OutputRelationTypeLineageResponseV1 =
194194 | "ALTER"
195+ | "APPEND"
195196 | "CREATE"
197+ | "DELETE"
196198 | "DROP"
199+ | "MERGE"
197200 | "OVERWRITE"
198201 | "RENAME"
199- | "TRUNCATE" ;
202+ | "TRUNCATE"
203+ | "UPDATE" ;
200204
201205interface OutputRelationLineageResponseV1
202206 extends BaseRelationLineageResponseV1 {
Original file line number Diff line number Diff line change @@ -374,12 +374,16 @@ const customRussianMessages: TranslationMessages = {
374374 } ,
375375 edges : {
376376 ioTypes : {
377- ALTER : "МОДИЦИФИРОВАН" ,
378- CREATE : "СОЗДАН" ,
379- DROP : "УДАЛЕН" ,
380- OVERWRITE : "ЗАМЕНЕН" ,
381- RENAME : "ПЕРЕИМЕНОВАН" ,
382- TRUNCATE : "ОЧИЩЕН" ,
377+ ALTER : "ИЗМЕНЕНИЕ" ,
378+ APPEND : "ДОБАВЛЕНИЕ" ,
379+ CREATE : "СОЗДАНИЕ" ,
380+ DELETE : "УДАЛЕНИЕ" ,
381+ DROP : "УНИЧТОЖЕНИЕ" ,
382+ MERGE : "ВСТАВКА" ,
383+ OVERWRITE : "ПЕРЕЗАПИСЬ" ,
384+ RENAME : "ПЕРЕИМЕНОВАНИЕ" ,
385+ TRUNCATE : "СТЕРАНИЕ" ,
386+ UPDATE : "ОБНОВЛЕНИЕ" ,
383387 } ,
384388 columnLineageTypes : {
385389 UNKNOWN : "НЕИЗВЕСТНО" ,
You can’t perform that action at this time.
0 commit comments