You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@s2graph.apache.org by "DOYUNG YOON (JIRA)" <ji...@apache.org> on 2016/02/10 05:59:18 UTC

[jira] [Assigned] (S2GRAPH-40) PostProcess.toHashKey gives different hash key with same value when edge's label schema version is different.

     [ https://issues.apache.org/jira/browse/S2GRAPH-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

DOYUNG YOON reassigned S2GRAPH-40:
----------------------------------

    Assignee: DOYUNG YOON

> PostProcess.toHashKey gives different hash key with same value when edge's label schema version is different.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: S2GRAPH-40
>                 URL: https://issues.apache.org/jira/browse/S2GRAPH-40
>             Project: S2Graph
>          Issue Type: Bug
>            Reporter: DOYUNG YOON
>            Assignee: DOYUNG YOON
>              Labels: bug, testcase
>
> since hashCode of InnerVal on v1, v2 is different, same innerVal with string value "a" gives different hash key if schema version is different.
> This cause problem when filterOut is given or exclude is specified on queryParam since they compare hash key on to field of Edge and this hash key is produced by innerVal.hashCode. 
> I think we can bypass this problem by using .toString on innerVal at toHashKey. 
> Also there is no test cases for this so it is necessary to add it.



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