revert_table
Revert a table from a source reference to a target branch in your data catalog, with an option to replace the table if it already exists.
Instructions
Revert a specified table from a source reference to a target branch in the user's Bauplan data catalog using a table name, source reference, and target branch. Revert a table from a source reference to a target branch.
Args: table: The table to revert. source_ref: The name of the source ref. into_branch: The name of the target branch where the table will be reverted. replace: Optional, whether to replace the table if it already exists.
Returns: TableReverted: Object indicating success/failure with revert details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| source_ref | Yes | ||
| into_branch | Yes | ||
| replace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | ||
| source_ref | Yes | ||
| into_branch | Yes | ||
| success | Yes | ||
| message | Yes |