简体   繁体   中英

Can we unload data from redshift to different S3 folders based on a field

I have a 100 weeks(week 1 to 100) of data and i want to load this into 52 different folders. This is the file path i desire:

File path 100 : Week 100 - Week (100-52)

File path 99 : Week 99 - Week (99-52)

.

.

.

File path 53 : Week 53 - Week (53-52)

I want to do all this preferably using a single unload.

您可以对 UNLOAD 进行分区 - 请参阅: https ://docs.aws.amazon.com/redshift/latest/dg/r_UNLOAD.html

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