Combine all CSV Files within S3 Bucket into Single File! #3306
-
I do have a list of ~ 500 CSV files within S3 Bucket which am looking to concatenate all of them into a single CSV file.
Is that possible without downloading all files ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @AmericanY, thanks for reaching out. Could you elaborate more on what you’re trying to accomplish? |
Beta Was this translation helpful? Give feedback.
-
@aBurmeseDev Thanks for taking time checking my issue. Actually the posts which you mentiond is not helpful within my case. The reason behind that, I'm dealing with 520 files (each file around 1GIB) containing ~ 6 Million of lines. so reading each file and append it to DF in order to combine all of them into single file, Will eat up all the memory + it's all based on connection speed as well. My question is, Is there a way where i can combine the files into single one within S3 locally without needing of read each file and store it in memory ? |
Beta Was this translation helpful? Give feedback.
Hi @AmericanY, thanks for reaching out. Could you elaborate more on what you’re trying to accomplish?
For reading/combining multiple CSV files in S3, I found these Stack Overflow posts here and here that might be helpful.