[
https://issues.apache.org/jira/browse/BEAM-3224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17546659#comment-17546659
]
Kenneth Knowles commented on BEAM-3224:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/18505
> 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: io-java-gcp
> Reporter: Benjamin BENOIST
> Priority: P3
> 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/{file1,file2,file3}}} should match
> {{gs://bucket/file1}}, {{gs://bucket/file2}} and {{gs://bucket/file3}}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)