Skip to content

@lancedb/lancedb • Docs


@lancedb/lancedb / CompactionResult

Interface: CompactionResult

Actual committed outcome of one remote compaction job.

Properties

completionPercentage

completionPercentage: number;

Percentage of planned live rows committed, from 0 to 100.


filesAdded

filesAdded: null | number;

Files added, including deletion files; null if an older worker omitted it.


filesRemoved

filesRemoved: null | number;

Files removed, including deletion files; null if an older worker omitted it.


fragmentsAdded

fragmentsAdded: null | number;

Fragments added by committed rewrites; null if an older worker omitted it.


fragmentsRemoved

fragmentsRemoved: null | number;

Fragments removed by committed rewrites; null if an older worker omitted it.


moreWork

moreWork: boolean;

A bounded run left eligible work for another invocation.


partialCommit

partialCommit: boolean;

Some planned groups were not committed.


rowsFailed

rowsFailed: number;

Planned live rows not committed by this job.


rowsSucceeded

rowsSucceeded: number;

Live source rows in committed rewrite groups.