You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 16:33:49 UTC
[GitHub] [beam] damccorm opened a new issue, #20326: Add a HttpIO / HttpFileSystem
damccorm opened a new issue, #20326:
URL: https://github.com/apache/beam/issues/20326
Add HttpIO (and a related HttpFileSystem and HttpsFileSystem), which can download files from a particular http:// or https:// URL. HttpIO cannot upload / write to files, though, because there's no standardized way to write to files using HTTP.
Sample usage:
```
(
p
| ReadFromText("https://raw.githubusercontent.com/apache/beam/5ff5313f0913ec81d31ad306400ad30c0a928b34/NOTICE")
| WriteToText("output.txt", shard_name_template="", num_shards=0)
)
```
Imported from Jira [BEAM-10101](https://issues.apache.org/jira/browse/BEAM-10101). Original Jira may contain additional context.
Reported by: epicfaace.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org