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 20:58:07 UTC
[GitHub] [beam] damccorm opened a new issue, #21046: FileSystem.create does not pass full Metadata to GCS
damccorm opened a new issue, #21046:
URL: https://github.com/apache/beam/issues/21046
When I call *FileSystem.create(foo, mime_type="text/plain", compression_type=CompressionTypes.BZIP2)* I would expect the following metadata set on GCS Blob:
bq. content_type: text/plain
bq. content_encoding: application/bzip2
What we currently get is:
bq. content_type: application/x-bz2
Looking at the code it seems to be a problem with GcsIO interface, which does not seem to expose *content_type* and *content_encoding* properly.
Imported from Jira [BEAM-12714](https://issues.apache.org/jira/browse/BEAM-12714). Original Jira may contain additional context.
Reported by: abergmeier.
--
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