Details
-
Bug
-
Status: Open
-
P3
-
Resolution: Unresolved
-
2.32.0
-
None
Description
Unlike FileIO module, theĀ FileBasedSink module doesn't respect the temp_location pipeline option. This isn't expected and documented properly in the respective module's documentation.
I do understand that the temp_location is technically a pipeline option that's only required by the DataflowRunner but I think it might be worth it to pluck it out of the DataflowRunner and make it be a global pipeline option.
In addition, I couldn't info on what is the difference between WriteToFiles and WriteToText transforms. It seems that the former uses the FileBasedSink and thus correctly writes temporary files to the temp_location when specified but the latter doesn't do that.