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/04 10:15:39 UTC

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

DOYUNG YOON created S2GRAPH-40:
----------------------------------

             Summary: 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


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)