Uploaded image for project: 'S2Graph'
  1. S2Graph
  2. S2GRAPH-40

PostProcess.toHashKey gives different hash key with same value when edge's label schema version is different.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Major
    • Resolution: Done
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            steamshon Do Yung Yoon
            steamshon Do Yung Yoon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: