beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (BEAM-2150) Support for recursive wildcards in GcsPath
Date Wed, 03 May 2017 20:25:04 GMT


ASF GitHub Bot commented on BEAM-2150:

GitHub user meunierd opened a pull request:

    [BEAM-2150] Relax regex to support wildcard globbing for GCS

    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
     - [x] Make sure the PR title is formatted like:
       `[BEAM-<Jira issue #>] Description of pull request`
     - [x] Make sure tests pass via `mvn clean verify`.
     - [x] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [ ] If this contribution is large, please file an Apache
           [Individual Contributor License Agreement](
    Something I've noticed is that Beam's usage of the GCS API doesn't leverage delimiters
so we're actually always iterating over the full set of objects after the prefix which is
why this PR is so tiny.
    Ideally, we can actually specify the delimiter `/` when not using  recursive wildcards
(`**`) for some efficiency gains.

You can merge this pull request into a Git repository by running:

    $ git pull BEAM-2150-gcs-recursive-wildcards

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2866
commit 6d0d6257040a9725b22f4c94bdaa2de388fd2e65
Author: Devon Meunier <>
Date:   2017-05-03T20:22:16Z

    [BEAM-2150] Relax regex to support wildcard globbing for GCS


> Support for recursive wildcards in GcsPath
> ------------------------------------------
>                 Key: BEAM-2150
>                 URL:
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-java-core, sdk-java-gcp
>            Reporter: Devon Meunier
>            Assignee: Devon Meunier
>            Priority: Minor
> When working with heavily nested folder structures in Google Cloud Storage, it's great
to make use of recursive wildcards, which the current API explicitly does not support.
> This code hasn't been touched in 2 years so it's likely that simply no one's gotten around
to it yet.

This message was sent by Atlassian JIRA

View raw message