Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-1520] [gelly] Create a Graph from CSV files #1149

Closed
wants to merge 5 commits into from

Conversation

vasia
Copy link
Contributor

@vasia vasia commented Sep 19, 2015

This builds on @shghatge's work in #847.
I addressed the remaining issues, rebased, and edited the docs.
@andralungu, you've already reviewed this, but if you could give it one more look, that'd be great :)
Thanks!

.map(new MapFunction<Tuple2<K, K>, Tuple3<K, K, NullValue>>() {

public Tuple3<K, K, NullValue> map(Tuple2<K, K> edge) {
return new Tuple3<K, K, NullValue>(edge.f0, edge.f1, NullValue.getInstance());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't you have a forwarded fields annotation here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch! thnx!

@andralungu
Copy link
Contributor

Hi @vasia,

As you said, I already reviewed this :P. I left a couple of comments inline. Please reverify the forwarded fields annotations. If you put them there for one mapper, add them for the others too.

Apart from that, it's good to merge.

@vasia
Copy link
Contributor Author

vasia commented Sep 21, 2015

Thanks @andralungu! I'll address your comments and merge later.

@asfgit asfgit closed this in d01d369 Sep 24, 2015
nikste pushed a commit to nikste/flink that referenced this pull request Sep 29, 2015
… the graph csv reader

This squashes the following commits:

[FLINK-1520] [gelly] add named types methods for reading a Graph from CSV input,
with and without vertex/edge values. Change the examples and the tests accordingly.

[FLINK-1520] [gelly] corrections in Javadocs; updated documentation

This closes apache#1149
lofifnc pushed a commit to lofifnc/flink that referenced this pull request Oct 8, 2015
… the graph csv reader

This squashes the following commits:

[FLINK-1520] [gelly] add named types methods for reading a Graph from CSV input,
with and without vertex/edge values. Change the examples and the tests accordingly.

[FLINK-1520] [gelly] corrections in Javadocs; updated documentation

This closes apache#1149
cfmcgrady pushed a commit to cfmcgrady/flink that referenced this pull request Oct 23, 2015
… the graph csv reader

This squashes the following commits:

[FLINK-1520] [gelly] add named types methods for reading a Graph from CSV input,
with and without vertex/edge values. Change the examples and the tests accordingly.

[FLINK-1520] [gelly] corrections in Javadocs; updated documentation

This closes apache#1149
@vasia vasia deleted the csvInput branch March 4, 2016 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants