beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenneth Knowles (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-2316) GcsUtil matches GCS glob * as though it is **
Date Thu, 18 May 2017 15:25:04 GMT

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

Kenneth Knowles commented on BEAM-2316:
---------------------------------------

Reading the code, matching actually proceeds by listing files from the longest non-wildcard
prefix and filtering with a regex that we (Beam) interpret from a glob. I don't think a delimiter
will be applicable to this approach, so [~meunierd] are you suggesting an overhaul?

> GcsUtil matches GCS glob * as though it is **
> ---------------------------------------------
>
>                 Key: BEAM-2316
>                 URL: https://issues.apache.org/jira/browse/BEAM-2316
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-gcp
>            Reporter: Kenneth Knowles
>            Assignee: Devon Meunier
>
> A pattern like {{"prefix/*"}} previously did not match files in subdirectories, but was
restricted by the {{/}} character. Now it matches things like {{"prefix/subdir/foo.txt"}}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message