Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
import org.apache.beam.sdk.values.TupleTag;
import org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.collect.Iterables;
import org.apache.iceberg.AddedRowsScanTask;
import org.apache.iceberg.BaseIncrementalChangelogScan;
import org.apache.iceberg.ChangelogScanTask;
import org.apache.iceberg.DataFile;
import org.apache.iceberg.DataOperations;
Expand Down Expand Up @@ -227,10 +226,9 @@ public void process(@Element Long snapshotId, MultiOutputReceiver out) throws IO
@Nullable Long fromSnapshotId = snapshot.parentId();
@Nullable Expression filter = scanConfig.getFilter();

// TODO(ahmedabu98): replace this with table.newIncrementalChangelogScan() when
// https://github.com/apache/iceberg/pull/14264/ gets merged and released.
IncrementalChangelogScan scan =
new BaseIncrementalChangelogScan(table)
table
.newIncrementalChangelogScan()
.toSnapshot(snapshotId)
.project(scanConfig.getProjectedSchema());
if (fromSnapshotId != null) {
Expand Down
Loading