Github user vasia commented on a diff in the pull request:

    https://github.com/apache/flink/pull/847#discussion_r32672727
  
    --- Diff: docs/libs/gelly_guide.md ---
    @@ -102,6 +102,15 @@ DataSet<Tuple3<String, String, Double>> edgeTuples = 
env.readCsvFile("path/to/ed
     Graph<String, Long, Double> graph = Graph.fromTupleDataSet(vertexTuples, 
edgeTuples, env);
     {% endhighlight %}
     
    +* from a CSV file with three fields and an optional CSV file with 2 
fields. In this case, Gelly will convert each row from the first CSV file to an 
`Edge`, where the first field will be the source ID, the second field will be 
the target ID and the third field will be the edge value. Equivalently, each 
row from the second CSV file will be converted to a `Vertex`, where the first 
field will be the vertex ID and the second field will be the vertex value. A 
types() method is called on the GraphCsvReader object returned by 
fromCsvReader() to inform the CsvReader of the types of the fields :
    --- End diff --
    
    It seems to me that the first argument is the vertex file and the second is 
the edges file.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to