From 236f6255b1c7eadc8338d23239755e539935c580 Mon Sep 17 00:00:00 2001 From: Amogh Jahagirdar Date: Sat, 18 May 2024 10:50:04 -0600 Subject: [PATCH] Core: Replace deprecated Roaring64Bitmap#add call with addRange (#10350) --- .../org/apache/iceberg/deletes/BitmapPositionDeleteIndex.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/apache/iceberg/deletes/BitmapPositionDeleteIndex.java b/core/src/main/java/org/apache/iceberg/deletes/BitmapPositionDeleteIndex.java index 97699c1c9113..72f1e00e498a 100644 --- a/core/src/main/java/org/apache/iceberg/deletes/BitmapPositionDeleteIndex.java +++ b/core/src/main/java/org/apache/iceberg/deletes/BitmapPositionDeleteIndex.java @@ -38,7 +38,7 @@ public void delete(long position) { @Override public void delete(long posStart, long posEnd) { - roaring64Bitmap.add(posStart, posEnd); + roaring64Bitmap.addRange(posStart, posEnd); } @Override