COPY DESCRIPTOR_SOURCE

Syntax

COPY DESCRIPTOR_SOURCE descriptor_source_name TO 'file_path';

Description

This command downloads a Descriptor Source to your local machine.

Descriptor sources are downloadable only if the current role has USAGE privileges.

Arguments

descriptor_source_name

This is the name of the descriptor source to copy. If a name is case-sensitive names, you must wrap it in double quotes; otherwise, the lowercase name is used.

file_path

This is the destination file path on the local machine to which the descriptor source file is copied. This is a string value and should be wrapped in single quotes.

Examples

Copy Descriptor Source

demodb.public/demostore# COPY DESCRIPTOR_SOURCE pageviews TO '/tmp/pageviews';
Downloading descriptor source pageviews to /tmp/pageviews

Last updated