apache/beam

Globbing asterisk cannot be escaped in file reads.

Open

#21,140 opened on Jun 4, 2022

View on GitHub
 (9 comments) (0 reactions) (1 assignee)Java (4,097 forks)batch import
P3bugcorefilesgood first issueiojavapython

Repository metrics

Stars
 (7,313 stars)
PR merge metrics
 (Avg merge 6d) (243 merged PRs in 30d)

Description

TextIO.read().from("*.txt") always expands, and escaping the asterisk does not help if there is a file that starts with a literal asterisk.

Imported from Jira BEAM-13231. Original Jira may contain additional context. Reported by: robertwb.

Contributor guide