Take snapshot + meta data operation. Cloned object independent from original table Creating backup for dev purposes Typically combined with time travel
CREATE TABLE table_new
CLONE table_sourceCloning from specific point in time is possible :
CREATE TABLE table_new
CLONE table_source
BEFORE (TIMESTAMP => 'tumestamp')
Cloning objects :
-
Database
-
Schema
-
Table
-
Stream
-
File Format
-
Sequence
-
Task
-
Stage - Named internal stages not cloned
-
Pipe - only for external stages
Cloning a database or schema will clone all contained objects .
Privileges will always be inherited to child objects never to source object itself.
Load history meta data is not copied. Loaded data can be loaded again.
Table => Select
Pipe, Stream, Task => Owner
All other objects => Usage