Table
Metadata
Transaction
Atomically commit a batch of mixed table operations
Atomically commit a batch of table operations. This is a generalized version of BatchCreateTableVersions that supports mixed operation types within a single atomic transaction at the metadata layer.
Supported operation types:
- DeclareTable: Declare (reserve) a new table
- CreateTableVersion: Create a new version entry for a table
- DeleteTableVersions: Delete version ranges from a table
- DeregisterTable: Deregister (soft-delete) a table
All operations are committed atomically: either all succeed or none are applied.
post/v1/table/batch-commit
Request body
Example request
{
"operations": [
{
"create_table_version": {
"naming_scheme": "V2"
}
}
]
}Response
Result of atomically committing a batch of mixed table operations
Example response
{
"results": [
{
"declare_table": {
"properties": {
"owner": "Ralph",
"created_at": "1452120468"
}
},
"deregister_table": {
"properties": {
"owner": "Ralph",
"created_at": "1452120468"
}
}
}
]
}