damccorm opened a new issue, #20956:
URL: https://github.com/apache/beam/issues/20956

   This is a general feature request based on frequent questions I see on Stack 
Overflow. I often see questions about how to get an empty file instead of no 
file when a PCollection is empty, or vice versa for IOs that create empty 
files. In other words, whichever approach is taken, there's users that will 
want the opposite approach.
   
   It seems the best approach here would be to add some kind of common code 
(FileIO maybe?) that could either open files for writing in Setup or lazily in 
ProcessElements.
   
   Regardless of the approach taken, this bug is basically for investigating 
this feature for feasibility and maybe holding sub-tasks/blocking bugs for 
tracking implementation.
   
   Imported from Jira 
[BEAM-12211](https://issues.apache.org/jira/browse/BEAM-12211). Original Jira 
may contain additional context.
   Reported by: danoliveira.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to