'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.
Solution 1:[1]
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.
Solution 2:[2]
You can use COPY INTO command for both data load as well as data unload from source to destination.
Solution 3:[3]
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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Simeon Pilgrim |
Solution 2 | Dharman |
Solution 3 | Ameya Bapat |