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

[jira] [Commented] (S2GRAPH-171) Support "undirected" label's direction when create Edge

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

ASF GitHub Bot commented on S2GRAPH-171:
----------------------------------------

GitHub user zhangmengzju opened a pull request:

    https://github.com/apache/incubator-s2graph/pull/128

    [S2GRAPH-171]: Support "undirected" label's direction when create Edge

    

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

    $ git pull https://github.com/zhangmengzju/incubator-s2graph master

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

    https://github.com/apache/incubator-s2graph/pull/128.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 #128
    
----
commit 7c30b916b2f96031218bf93789477d008488b0db
Author: zhangmengzju <zh...@163.com>
Date:   2017-10-25T13:46:32Z

    Merge pull request #1 from SteamShon/zhangmengzju-master
    
    [S2GRAPH-167]: Provide Vertex CSV File BulkLoad

commit ac5231d371cbfbdcebacf07bd1d9d4b9ea0faf29
Author: zhangmengzju <zh...@163.com>
Date:   2017-11-14T07:58:50Z

    Update S2Graph.scala
    
    support "undirected" direction in toEdge function

----


> Support "undirected" label's direction when create Edge
> -------------------------------------------------------
>
>                 Key: S2GRAPH-171
>                 URL: https://issues.apache.org/jira/browse/S2GRAPH-171
>             Project: S2Graph
>          Issue Type: Bug
>            Reporter: zhangmeng
>              Labels: patch
>
> When bulkload edge csv file,there is a difference between "directed label" and "undirected label".
> In "directed  label" case, if there is an edge "a b out", this edge's relatedEdges will be "a b out" and "b a in".
> In "undirected label" case, if there is an edge "a b out", this edge's relatedEdges should be "a b out" and "b a out" .
> However, as the effect of toEdge function's logic, the "undirected label" case has the same result as the"directed label" case.So I added the support for "undirected" label's direction when create Edge.



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