[
https://issues.apache.org/jira/browse/BEAM-12714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17549450#comment-17549450
]
Danny McCormick commented on BEAM-12714:
----------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/21046
> FileSystem.create does not pass full Metadata to GCS
> ----------------------------------------------------
>
> Key: BEAM-12714
> URL: https://issues.apache.org/jira/browse/BEAM-12714
> Project: Beam
> Issue Type: Improvement
> Components: io-py-gcp
> Affects Versions: 2.31.0
> Reporter: Andreas Bergmeier
> Priority: P3
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)