简体   繁体   中英

Is there a best way to get data from snowflake to s3

Is there a best way to get data from snowflake to s3. ? the data snowflake shows will be in s3, but we don't have access to that bucket. And we only need to get the specific tables from Snowflake not the entire data.

you will want the unloading into Amazon S3 documentation.

you can ether choose a table with the

copy into s3://mybucket/unload/
  from mytable
  storage_integration = myint
  file_format = (format_name = my_csv_format);

or choose from a select, which is mostly how I export data.

copy into @my_stage
from (
    select * from orderstiny limit 5
);

again the COPY INTO doc's are helpful here.

You can use COPY INTO command for both data load as well as data unload from source to destination.

Is there a best way to get data from snowflake to s3. ? the data snowflake shows will be in s3, but we don't have access to that bucket. And we only need to get the specific tables from Snowflake not the entire data.

You can follow one of the options . The option1 is the most secure of them. If it is for internal or inside vpc communication then option3 could the easier one.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM