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

Beam JIRA Bot updated BEAM-12714:
---------------------------------
    Priority: P3  (was: P2)

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

Reply via email to