@@ -330,11 +330,6 @@ PRIMARY KEY (Id)
330330 }
331331
332332 var columns = new [ ] { "Id" , "Name" } ;
333- var types = new [ ]
334- {
335- new Type { TypeId = Type . Types . PrimitiveTypeId . Int32 } ,
336- new Type { TypeId = Type . Types . PrimitiveTypeId . Utf8 }
337- } ;
338333
339334 await using ( var importer = conn . BeginBulkUpsertImport ( tableName , columns ) )
340335 {
@@ -405,11 +400,6 @@ PRIMARY KEY (Id)
405400 }
406401
407402 var columns = new [ ] { "Id" , "Name" } ;
408- var types = new [ ]
409- {
410- new Type { TypeId = Type . Types . PrimitiveTypeId . Int32 } ,
411- new Type { TypeId = Type . Types . PrimitiveTypeId . Utf8 }
412- } ;
413403
414404 await using ( var importer = conn . BeginBulkUpsertImport ( tableName , columns ) )
415405 {
@@ -452,11 +442,6 @@ PRIMARY KEY (Id)
452442 }
453443
454444 var columns = new [ ] { "Id" , "Name" } ;
455- var types = new [ ]
456- {
457- new Type { TypeId = Type . Types . PrimitiveTypeId . Int32 } ,
458- new Type { TypeId = Type . Types . PrimitiveTypeId . Utf8 }
459- } ;
460445
461446 var importer = conn . BeginBulkUpsertImport ( tableName , columns ) ;
462447 await importer . AddRowsAsync ( new [ ] { new [ ] { YdbValue . MakeInt32 ( 1 ) , YdbValue . MakeUtf8 ( "A" ) } } ) ;
@@ -494,11 +479,6 @@ PRIMARY KEY (Id)
494479 }
495480
496481 var columns = new [ ] { "Id" , "Name" } ;
497- var types = new [ ]
498- {
499- new Type { TypeId = Type . Types . PrimitiveTypeId . Int32 } ,
500- new Type { TypeId = Type . Types . PrimitiveTypeId . Utf8 }
501- } ;
502482
503483 await Task . WhenAll (
504484 Task . Run ( async ( ) =>
@@ -546,11 +526,6 @@ public async Task BulkUpsertImporter_ThrowsOnNonexistentTable()
546526 await conn . OpenAsync ( ) ;
547527
548528 var columns = new [ ] { "Id" , "Name" } ;
549- var types = new [ ]
550- {
551- new Type { TypeId = Type . Types . PrimitiveTypeId . Int32 } ,
552- new Type { TypeId = Type . Types . PrimitiveTypeId . Utf8 }
553- } ;
554529
555530 var importer = conn . BeginBulkUpsertImport ( tableName , columns ) ;
556531
0 commit comments