47 std::string table_name, std::shared_ptr<TransactionContext> ctx);
95 const std::shared_ptr<Snapshot>& snapshot)
override;
98 DeleteFiles(std::string table_name, std::shared_ptr<TransactionContext> ctx);
100 bool validate_files_to_delete_exist_ =
false;
API for deleting data files from a table.
Definition delete_files.h:44
DeleteFiles & DeleteFile(std::string_view path)
Delete a file by path from the underlying table.
DeleteFiles & ValidateFilesExist()
Enable validation that deleted files still exist.
DeleteFiles & DeleteFromRowFilter(std::shared_ptr< Expression > expr)
Delete files that match an expression on data rows from the table.
DeleteFiles & CaseSensitive(bool case_sensitive)
Enable or disable case-sensitive expression binding for validations.
DeleteFiles & DeleteFile(const std::shared_ptr< DataFile > &file)
Delete a file tracked by a DataFile from the underlying table.
std::string operation() override
A string that describes the action that produced the new snapshot.
Status Validate(const TableMetadata ¤t_metadata, const std::shared_ptr< Snapshot > &snapshot) override
Validate the current metadata.
Abstract base class for merge-based snapshot write operations.
Definition merging_snapshot_update.h:63
Define symbol visibility macros for core Iceberg APIs.
Core Apache Iceberg C++ APIs.
Definition arrow_io_util.h:33
std::expected< T, E > Result
Result alias.
Definition result.h:88
Define Result, Status, and error helpers.