You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Chamikara Jayalath (JIRA)" <ji...@apache.org> on 2017/11/21 00:02:00 UTC

[jira] [Commented] (BEAM-3224) Add support for path with braces for Google Cloud Storage

    [ https://issues.apache.org/jira/browse/BEAM-3224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16260046#comment-16260046 ] 

Chamikara Jayalath commented on BEAM-3224:
------------------------------------------

Currently we are not working on this. I'll leave this open so that someone who has cycles can pick this up.

> Add support for path with braces for Google Cloud Storage
> ---------------------------------------------------------
>
>                 Key: BEAM-3224
>                 URL: https://issues.apache.org/jira/browse/BEAM-3224
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-gcp
>            Reporter: Benjamin BENOIST
>            Priority: Minor
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> At the moment we can not use braces in Google Cloud Storage paths, as explained [here|https://stackoverflow.com/questions/46977552/filebasedsource-not-able-to-understand-a-glob-corresponding-to-several-specific].
> The path is backed by a file pattern defined as a Java glob and is then then expanded to a regex in _sdks/java/extensions/google-cloud-platform-core/src/main/java/org/apache/beam/sdk/util/GcsUtil.java_ in the _wildcardToRegexp_ function.
> {{gs://bucket/&#123;file1,file2,file3&#125;}} should match {{gs://bucket/file1}}, {{gs://bucket/file2}} and {{gs://bucket/file3}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)