Delete files contain the row ids of rows that are deleted. Each data file will have its own delete file if any deletes are present for this data file.
| Column name | Column type | |
|---|---|---|
delete_file_id |
BIGINT |
Primary key |
table_id |
BIGINT |
|
begin_snapshot |
BIGINT |
|
end_snapshot |
BIGINT |
|
data_file_id |
BIGINT |
|
path |
VARCHAR |
|
path_is_relative |
BOOLEAN |
|
format |
VARCHAR |
|
delete_count |
BIGINT |
|
file_size_bytes |
BIGINT |
|
footer_size |
BIGINT |
|
encryption_key |
VARCHAR |
delete_file_idis the numeric identifier of the delete file. It is a primary key.delete_file_idis incremented fromnext_file_idin theducklake_snapshottable.table_idrefers to atable_idfrom theducklake_tabletable.begin_snapshotrefers to asnapshot_idfrom theducklake_snapshottable. The delete file is part of the table starting with this snapshot id.end_snapshotrefers to asnapshot_idfrom theducklake_snapshottable. The delete file is part of the table up to but not including this snapshot id. Ifend_snapshotisNULL, the delete file is currently part of the table.data_file_idrefers to adata_file_idfrom theducklake_data_filetable.pathis the file name of the delete file, e.g.,my_file-deletes.parquetfor a relative path.path_is_relativewhether thepathis relative to thepathof the table (true) or an absolute path (false).formatis the storage format of the delete file. Currently, onlyparquetis allowed.delete_countis the number of deletion records in the file.file_size_bytesis the size of the file in bytes.footer_sizeis the size of the file metadata footer, in the case of Parquet the Thrift data. This is an optimization that allows for faster reading of the file.encryption_keycontains the encryption for the file if encryption is enabled.