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

Bug on offset when Interval is given on query.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Trivial
    • Resolution: Done
    • None
    • None
    • None

    Description

      Since degreeEdge that store how many edges are exist from this source vertex use empty byte array as qualifier, it always comes at first.

      Above is reason why we add 1 on limit when offset is 0(if offset is 0, then we need to return degree too so storage level limit should be increased by 1).

      This is not actually true when "interval" is given.
      When query has interval option, then it use columnRangeFilter, and with offset 0 and interval option, then current implementation return 1 more result.

      I think adding 1 on provided limit should check if interval is specified on queryParam.

      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: