51 std::string table_name, std::shared_ptr<TransactionContext> ctx);
72 explicit MergeAppend(std::string table_name, std::shared_ptr<TransactionContext> ctx);
API for appending new files in a table while merging manifests.
Definition merge_append.h:43
MergeAppend & AppendFile(const std::shared_ptr< DataFile > &file)
Append a DataFile to the table.
static Result< std::unique_ptr< MergeAppend > > Make(std::string table_name, std::shared_ptr< TransactionContext > ctx)
Create a new MergeAppend instance.
MergeAppend & AppendManifest(const ManifestFile &manifest)
Append a ManifestFile to the table.
std::string operation() override
A string that describes the action that produced the new snapshot.
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.
Entry in a manifest list.
Definition manifest_list.h:85