You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2021/10/02 17:25:00 UTC

[jira] [Updated] (BEAM-12714) FileSystem.create does not pass full Metadata to GCS

     [ https://issues.apache.org/jira/browse/BEAM-12714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Beam JIRA Bot updated BEAM-12714:
---------------------------------
    Labels: stale-P2  (was: )

> 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)