Skip to content

Commit 6e687d6

Browse files
committed
fix warnings
1 parent ac1f877 commit 6e687d6

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

kernel/src/log_replay.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ use crate::{DeltaResult, EngineData};
2121
use delta_kernel_derive::internal_api;
2222

2323
use std::collections::HashSet;
24-
use std::sync::Arc;
2524

2625
use tracing::debug;
2726

@@ -205,6 +204,8 @@ impl ActionsBatch {
205204
}
206205
}
207206

207+
#[internal_api]
208+
#[allow(unused)]
208209
pub(crate) trait ParallelizableLogReplayProcessor {
209210
type Output;
210211
fn process_actions_batch(&self, actions_batch: ActionsBatch) -> DeltaResult<Self::Output>;

kernel/src/scan/log_replay.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use crate::actions::get_log_add_schema;
1212
use crate::engine_data::{GetData, RowVisitor, TypedGetData as _};
1313
use crate::expressions::{column_name, ColumnName, Expression, ExpressionRef, PredicateRef};
1414
use crate::kernel_predicates::{DefaultKernelPredicateEvaluator, KernelPredicateEvaluator as _};
15-
use crate::log_replay::deduplicator::{self, CheckpointDeduplicator, Deduplicator};
15+
use crate::log_replay::deduplicator::{CheckpointDeduplicator, Deduplicator};
1616
use crate::log_replay::{
1717
ActionsBatch, FileActionDeduplicator, FileActionKey, LogReplayProcessor,
1818
ParallelizableLogReplayProcessor,
@@ -498,8 +498,8 @@ impl ParallelizableLogReplayProcessor for ScanLogReplayProcessor {
498498

499499
let deduplicator = CheckpointDeduplicator::try_new(
500500
&self.seen_file_keys,
501-
ADD_PATH_INDEX,
502-
ADD_DV_START_INDEX,
501+
Self::ADD_PATH_INDEX,
502+
Self::ADD_DV_START_INDEX,
503503
)?;
504504
let mut visitor = AddRemoveDedupVisitor::new(
505505
deduplicator,

0 commit comments

Comments
 (0)