delta-io/delta

[Kernel] [TODO] Assert that log files belong to the table

Open

#1,968 opened on Aug 9, 2023

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Scala (2,100 forks)batch import
enhancementgood first issuekernel

Repository metrics

Stars
 (8,807 stars)
PR merge metrics
 (Avg merge 7d 1h) (142 merged PRs in 30d)

Description

Complete the below TODO.

/**
 * Verifies that a set of delta or checkpoint files to be read actually belongs to this table.
 */
private void assertLogFilesBelongToTable(Path logPath, Stream<FileStatus> allFiles) {
    // TODO:
}

https://github.com/delta-io/delta/blob/efa566fc24af0b2c65b08c2a7ad81e9c865e0e83/kernel/kernel-api/src/main/java/io/delta/kernel/internal/replay/LogReplay.java#L158

Contributor guide