Skip to content
Merged
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 @@ -41,6 +41,9 @@
import org.apache.paimon.utils.Range;
import org.apache.paimon.utils.RowRangeIndex;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.annotation.Nullable;

import java.io.IOException;
Expand All @@ -57,6 +60,8 @@
/** Scan for data evolution table. */
public class DataEvolutionBatchScan implements DataTableScan {

private static final Logger LOG = LoggerFactory.getLogger(DataEvolutionBatchScan.class);

private final FileStoreTable table;
private final DataTableBatchScan batchScan;

Expand Down Expand Up @@ -274,7 +279,11 @@ private Optional<GlobalIndexResult> evalGlobalIndex() {
}

try (GlobalIndexScanner scanner = optionalScanner.get()) {
return scanner.scan(filter);
Optional<GlobalIndexResult> result = scanner.scan(filter);
if (result.isPresent()) {
LOG.info("Scan table '{}' with global index.", table.name());
}
return result;
} catch (IOException e) {
throw new RuntimeException(e);
}
Expand Down
Loading