Skip to content

Commit

Permalink
Fail deduplication if event key is null
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailsimsek committed Jun 11, 2024
1 parent 3aa687b commit f9e8060
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public void testDeduplicateBatch() throws Exception {
Assertions.assertEquals(1, dedups2.size());
Assertions.assertEquals("u", dedups2.get(0).value().get("__op").asText("x"));

// @TODO deduplicate wth null key
// deduplicating wth null key should fail!
IcebergChangeEvent e31 = new IcebergChangeEventBuilder()
.destination("destination")
.addField("id", 3)
Expand Down

0 comments on commit f9e8060

Please sign in to comment.