- Reference
- Version · 5.2.2
- Reference guide
Available attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Name of the catalog containing the source table | No |
| String | Name of the schema containing the source table | No |
| String | Name of the table to clone from | Yes |
| String | Name of the catalog for the cloned table | No |
| String | Name of the schema for the cloned table | No |
| String | Name of the new cloned table | Yes |
| Boolean | If true, replaces existing table with | No |
| Boolean | If true, only creates if target doesn't exist* | No |
| Boolean | If true, copies grants from source table** | No |
| Boolean | If true, creates a | No |
| Boolean | If true, creates a | No |
| Nested | Time travel options for cloning from historical state | No |
*replaceIfExists and ifNotExists are mutually exclusive.
**copyGrants requires replaceIfExists=true.
***temporary and isTransient are mutually exclusive.
timeTravelClause nested attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Either | Yes |
| String | Absolute timestamp or SQL expression**** | No |
| String | Relative seconds (e.g., | No |
| String | Statement ID from query history**** | No |
****Exactly one of timestamp, offset, or statement must be specified.