Skip to content

[FIP-31][lake] Add the lake capability interfaces of deletion vector tables #5296

Open

Description

@fresh-borzoni

Search before asking

  • I searched in the issues and found nothing similar.

Description

FIP-31 lets lake plug-ins opt in to deletion vector tables through capability interfaces. The existing lake interfaces gain no methods. This task adds the interfaces only:

  • SupportsDeletionVectorTiering: a writer that takes a round through its log mask and stages the round's index part;
  • SupportsPositionDeleteCommit: a commit of data files with position deletes fenced on the round's base, the commit of a rewrite, and snapshot expiry by tags;
  • SupportsDeletionVectorCommit: the base snapshot property, the lineage check, and protection of the readable snapshot;
  • SupportsDeletionVectorPreparation: deletion vectors prepared by the tiering writers;
  • SupportsRowPositions: readWithPos, rows with their file positions, used by the re-index and by reads by key;
  • RecordReader.close(), so a reader releases its files when a read ends, with a no-op default for existing readers.

All are @PublicEvolving. No implementation and no behaviour change for existing lakes.

Tests: default behaviour of the new methods; the existing lake reader tests still pass.

Part of FIP-31 and tracked by #5294.

Willingness to contribute

  • I'm willing to submit a PR!

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