Apache beam: WriteToText or WriteToFiles

Viewed 272

I found it a little confusing when writing result to files with apache beam.

It seems to me that WriteToText and WriteToFiles do the same thing.

I can define num of shards, destination file path, custom sink...

What is the difference and when to use which?

0 Answers
Related