You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2022/01/14 19:56: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 ]

Kenneth Knowles updated BEAM-12714:
-----------------------------------
    Issue Type: Improvement  (was: Bug)

> 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.1#820001)