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/06/04 13:32:45 UTC

[GitHub] [beam] damccorm opened a new issue, #19766: GcsFileSystem should validate directories and file names for \n chars

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

   Newlines are not valid characters in GCS object names ([https://cloud.google.com/storage/docs/naming](https://cloud.google.com/storage/docs/naming)), but we don't currently validate for this.  This leads to confusing errors if users accidentally include a trailing newline char on a string being passed into an IO.
   
   The particular place where this came up was with FileIO using AvroIO.sink, where the directory passed to to() had a trailing newline, but it looks like this will be a problem generally with FileIO **** GCS. 
   
   Imported from Jira [BEAM-7932](https://issues.apache.org/jira/browse/BEAM-7932). Original Jira may contain additional context.
   Reported by: millsd@google.com.


-- 
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.apache.org

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