You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/07/22 17:41:07 UTC

[GitHub] [beam] Abacn commented on issue #21608: Allow skipping of any output when writing an empty PCollection.

Abacn commented on issue #21608:
URL: https://github.com/apache/beam/issues/21608#issuecomment-1192799831

   @tiwarinaman  Looks like the cause is that formatFunction is not set automatically in writeCustomType. Does it raise the same error if not setting skipIfEmpty?
   
   TextIO.write also supports skipIfEmpty and it sets formatFunction in its to() method. For writeCustomType you may need to manually set formatFunction. 
   
   Indeed, documentation needs to be improved.


-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org