November 2017
Beginner to intermediate
290 pages
7h 34m
English
Finally, we invoke the TextIO.write() library transform to write our results to a sharded file. The output will not be a single file, but many—they will be idempotently written in parallel to a temporary location (some writes may fail and be restarted), and then, idempotently moved to their final location. You should replace the output destination with some location that you establish for writing the output of word count:
TextIO.write().to("gs://YOUR_OUTPUT_BUCKET/AND_OUTPUT_PREFIX")
Read now
Unlock full access