[
https://issues.apache.org/jira/browse/BEAM-12714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17423567#comment-17423567
]
Beam JIRA Bot commented on BEAM-12714:
--------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it
has been labeled "stale-P2". If this issue is still affecting you, we care!
Please comment and remove the label. Otherwise, in 14 days the issue will be
moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed
explanation of what these priorities mean.
> 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: Bug
> Components: io-py-gcp
> Affects Versions: 2.31.0
> Reporter: Andreas Bergmeier
> Priority: P2
> Labels: stale-P2
>
> 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.3.4#803005)