Skip to content

Commit

Permalink
Use RecordWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailsimsek committed Oct 5, 2024
1 parent 8fc3705 commit 421960d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void testUnpartitionedDeltaWriter() throws IOException {
row.setField("id2", "123");
row.setField("__op", "u");

writer.write(row);
writer.write(new RecordWrapper(row, Operation.UPDATE));
WriteResult result = writer.complete();

// in upsert mode, each write is a delete + append, so we'll have 1 data file and 1 delete file
Expand Down

0 comments on commit 421960d

Please sign in to comment.