You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/11 21:45:00 UTC

[jira] [Commented] (FLINK-6648) Transforms for Gelly examples

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

ASF GitHub Bot commented on FLINK-6648:
---------------------------------------

GitHub user greghogan opened a pull request:

    https://github.com/apache/flink/pull/4304

    [FLINK-6648] [gelly] Transforms for Gelly examples

    Replaces GeneratedGraph class (which was extended by inputs) with the GraphKeyTypeTransform which can also transform the algorithm result to obtain consistent hash codes. This allows for the removal of the case statements in the driver checksum tests.
    
    Float and double are now supported types.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/greghogan/flink 6648_transforms_for_gelly_examples

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/4304.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4304
    
----
commit 6a71963c945b48d3f28949b1c6b661eb7482a443
Author: Greg Hogan <co...@greghogan.com>
Date:   2017-07-05T20:58:06Z

    [FLINK-6648] [gelly] Transforms for Gelly examples
    
    Replaces GeneratedGraph class (which was extended by inputs) with the
    GraphKeyTypeTransform which can also transform the algorithm result to
    obtain consistent hash codes. This allows for the removal of the case
    statements in the driver checksum tests.
    
    Float and double are now supported types.

----


> Transforms for Gelly examples
> -----------------------------
>
>                 Key: FLINK-6648
>                 URL: https://issues.apache.org/jira/browse/FLINK-6648
>             Project: Flink
>          Issue Type: Improvement
>          Components: Gelly
>    Affects Versions: 1.4.0
>            Reporter: Greg Hogan
>            Assignee: Greg Hogan
>             Fix For: 1.4.0
>
>
> A primary objective of the Gelly examples {{Runner}} is to make adding new inputs and algorithms as simple and powerful as possible. A recent feature made it possible to translate the key ID of generated graphs to alternative numeric or string representations. For floating point and {{LongValue}} it is desirable to translate the key ID of the algorithm results.
> Currently a {{Runner}} job consists of an input, an algorithm, and an output. A {{Transform}} will translate the input {{Graph}} and the algorithm output {{DataSet}}. The {{Input}} and algorithm {{Driver}} will return an ordered list of {{Transform}} which will be executed in that order (processed in reverse order for algorithm output) . The {{Transform}} can be configured as are inputs and drivers.
> Example transforms:
> - the aforementioned translation of key ID types
> - surrogate types (String -> Long or Int) for user data
> - FLINK-4481 Maximum results for pairwise algorithms
> - FLINK-3625 Graph algorithms to permute graph labels and edges



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)