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



Reply via email to