Skip to content

Batch incremental scan API: Delta mode and Auto selection #503

Description

@Pandas886

Describe the feature

Add a first-class Rust API for batch incremental reads over a snapshot range, starting with Delta mode and Auto mode selection.

Motivation

Right now you can plan a full table scan for a snapshot, but there isn't a clean public API for "give me files between snapshot A (exclusive) and B (inclusive)" — which is the building block for incremental ETL and later SQL helpers.

Proposed scope (this issue)

  • IncrementalScanMode / IncrementalScan / IncrementalPlan
  • Snapshot range checks (start exclusive, end inclusive; empty + out-of-range)
  • Delta planning over APPEND snapshots in the range
  • Auto: changelog-producer=none → Delta; otherwise resolve to Changelog (implementation of Changelog itself can be a follow-up)
  • Reuse existing TableScan / TableRead instead of reimplementing manifest readers

Follow-ups (separate issues/PRs): reading existing changelog manifests, Diff mode, DataFusion TVF.

Additional context

I already have a draft implementation I'm cleaning up against current main.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions