You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Vasia Kalavri (JIRA)" <ji...@apache.org> on 2015/06/14 00:45:01 UTC

[jira] [Comment Edited] (FLINK-1520) Read edges and vertices from CSV files

    [ https://issues.apache.org/jira/browse/FLINK-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14584855#comment-14584855 ] 

Vasia Kalavri edited comment on FLINK-1520 at 6/13/15 10:44 PM:
----------------------------------------------------------------

Hi [~andralungu],

you are right, we need a way to pass the types. Also, field / line delimiters and other options like ignore comments etc. that are already provided by CsvReader would be nice.
Instead of passing all of these as arguments, maybe we could do something similar to what CsvReader does and have e.g. an EdgeCsvReader class with fieldDelimiter(), lineDelimiter() etc. and a types() method which will return a Graph. What do you think?


was (Author: vkalavri):
Hi [~andralungu],

you are right, we need a way to pass the types. Also, field / line delimiters and other options like ignore comments etc. that are already provided by CsvReader would be nice.
Instead of passing all of these as arguments, maybe we could do something similar to what CsvReader does and have e.g. an EdgeCsvReader class with fieldDelimiter)_, lineDelimiter() etc. and a types() method which will return a Graph. What do you think?

> Read edges and vertices from CSV files
> --------------------------------------
>
>                 Key: FLINK-1520
>                 URL: https://issues.apache.org/jira/browse/FLINK-1520
>             Project: Flink
>          Issue Type: New Feature
>          Components: Gelly
>            Reporter: Vasia Kalavri
>            Assignee: Shivani Ghatge
>            Priority: Minor
>              Labels: easyfix, newbie
>
> Add methods to create Vertex and Edge Datasets directly from CSV file inputs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)