Base test fixture for table update operations.
More...
#include <update_test_base.h>
|
|
virtual std::string | MetadataResource () const |
| |
|
virtual std::string | TableName () const |
| |
|
void | SetUp () override |
| |
|
void | InitializeFileIO () |
| | Initialize file IO and create necessary directories.
|
| |
| void | RegisterTableFromResource (const std::string &resource_name) |
| | Register a table from a metadata resource file.
|
| |
|
std::shared_ptr< TableMetadata > | ReloadMetadata () |
| | Reload the table from catalog and return its metadata.
|
| |
|
void | ExpectRef (const std::string &name, SnapshotRefType type, int64_t snapshot_id) |
| | Assert that a ref exists with the given type and snapshot id.
|
| |
|
void | ExpectBranch (const std::string &name, int64_t snapshot_id) |
| |
|
void | ExpectTag (const std::string &name, int64_t snapshot_id) |
| |
|
void | ExpectNoRef (const std::string &name) |
| | Assert that a ref does not exist.
|
| |
|
void | ExpectCurrentSnapshot (int64_t snapshot_id) |
| | Assert the current snapshot id after reloading.
|
| |
|
template<typename T > |
| void | ExpectCommitOk (const T &result) |
| | Assert that a commit succeeded.
|
| |
|
template<typename T > |
| void | ExpectCommitError (const T &result, ErrorKind kind, const std::string &message) |
| | Assert that a commit failed with the given error kind and message substring.
|
| |
Base test fixture for table update operations.
◆ RegisterTableFromResource()
| void iceberg::UpdateTestBase::RegisterTableFromResource |
( |
const std::string & |
resource_name | ) |
|
|
inlineprotected |
Register a table from a metadata resource file.
- Parameters
-
| resource_name | The name of the metadata resource file |
The documentation for this class was generated from the following file: