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: [email protected]

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

Reply via email to