You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ashwin Ramaswami (Jira)" <ji...@apache.org> on 2020/05/27 13:28:00 UTC

[jira] [Created] (BEAM-10101) Add a HttpIO / HttpFileSystem

Ashwin Ramaswami created BEAM-10101:
---------------------------------------

             Summary: Add a HttpIO / HttpFileSystem
                 Key: BEAM-10101
                 URL: https://issues.apache.org/jira/browse/BEAM-10101
             Project: Beam
          Issue Type: Bug
          Components: io-ideas
            Reporter: Ashwin Ramaswami


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:

 
{code:python}
        (
            p
            | ReadFromText("https://raw.githubusercontent.com/apache/beam/5ff5313f0913ec81d31ad306400ad30c0a928b34/NOTICE")
            | WriteToText("output.txt", shard_name_template="", num_shards=0)
        )
{code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)