You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beam.apache.org by Tobias Feldhaus <To...@localsearch.ch> on 2017/01/24 13:34:51 UTC
Documentation - Programming Guide - Creating a PCollection
Hi,
in the Programming Guide, under the “Creating a PCollection, the example used [0] is written as:
p.apply(TextIO.Read.named("ReadMyFile").from("protocol://path/to/some/inputData.txt"));
The .named method does not exist in 0.4.0 – or am I missing something? Shouldn’t it be more like
p.apply("ReadMyFile ", TextIO.Read.from(“protocol://path/to/some/inputData.txt”));
General question: Should documentation issues reported via JIRA?
Tobi
[0] https://beam.apache.org/documentation/programming-guide/#pcollection
Re: Documentation - Programming Guide - Creating a PCollection
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Fully agree. It's better for tracking.
Regards
JB\u2063\u200b
On Jan 24, 2017, 18:04, at 18:04, Lukasz Cwik <lc...@google.com> wrote:
>Yes, please report documentation issues via JIRA (added you as a
>contributor so that you can create it), also feel free to open a PR
>addressing the issue.
>
>On Tue, Jan 24, 2017 at 5:34 AM, Tobias Feldhaus <
>Tobias.Feldhaus@localsearch.ch> wrote:
>
>> Hi,
>>
>> in the Programming Guide, under the \u201cCreating a PCollection, the
>example
>> used [0] is written as:
>>
>> p.apply(TextIO.Read.named("ReadMyFile").from("protocol://
>> path/to/some/inputData.txt"));
>>
>> The .named method does not exist in 0.4.0 \u2013 or am I missing
>something?
>> Shouldn\u2019t it be more like
>>
>> p.apply("ReadMyFile ", TextIO.Read.from(\u201cprotocol://
>> path/to/some/inputData.txt\u201d));
>>
>>
>> General question: Should documentation issues reported via JIRA?
>>
>> Tobi
>>
>> [0]
>https://beam.apache.org/documentation/programming-guide/#pcollection
>>
>>
>>
>>
Re: Documentation - Programming Guide - Creating a PCollection
Posted by Stephen Sisk <si...@google.com>.
and thank you very much for taking the time to report the issue.
On Tue, Jan 24, 2017 at 9:04 AM Lukasz Cwik <lc...@google.com> wrote:
> Yes, please report documentation issues via JIRA (added you as a
> contributor so that you can create it), also feel free to open a PR
> addressing the issue.
>
> On Tue, Jan 24, 2017 at 5:34 AM, Tobias Feldhaus <
> Tobias.Feldhaus@localsearch.ch> wrote:
>
> Hi,
>
> in the Programming Guide, under the “Creating a PCollection, the example
> used [0] is written as:
>
>
> p.apply(TextIO.Read.named("ReadMyFile").from("protocol://path/to/some/inputData.txt"));
>
> The .named method does not exist in 0.4.0 – or am I missing something?
> Shouldn’t it be more like
>
> p.apply("ReadMyFile ",
> TextIO.Read.from(“protocol://path/to/some/inputData.txt”));
>
>
> General question: Should documentation issues reported via JIRA?
>
> Tobi
>
> [0] https://beam.apache.org/documentation/programming-guide/#pcollection
>
>
>
>
>
Re: Documentation - Programming Guide - Creating a PCollection
Posted by Lukasz Cwik <lc...@google.com>.
Yes, please report documentation issues via JIRA (added you as a
contributor so that you can create it), also feel free to open a PR
addressing the issue.
On Tue, Jan 24, 2017 at 5:34 AM, Tobias Feldhaus <
Tobias.Feldhaus@localsearch.ch> wrote:
> Hi,
>
> in the Programming Guide, under the “Creating a PCollection, the example
> used [0] is written as:
>
> p.apply(TextIO.Read.named("ReadMyFile").from("protocol://
> path/to/some/inputData.txt"));
>
> The .named method does not exist in 0.4.0 – or am I missing something?
> Shouldn’t it be more like
>
> p.apply("ReadMyFile ", TextIO.Read.from(“protocol://
> path/to/some/inputData.txt”));
>
>
> General question: Should documentation issues reported via JIRA?
>
> Tobi
>
> [0] https://beam.apache.org/documentation/programming-guide/#pcollection
>
>
>
>