[
https://issues.apache.org/jira/browse/S2GRAPH-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15158397#comment-15158397
]
DOYUNG YOON commented on S2GRAPH-20:
------------------------------------
so current code has critical bug.
when there are less edges fetched than sample size n, then current sample
routine while infinitely.
seems small changes, but critical bug.
> Bug in Query Option "Sample"
> ----------------------------
>
> Key: S2GRAPH-20
> URL: https://issues.apache.org/jira/browse/S2GRAPH-20
> Project: S2Graph
> Issue Type: Bug
> Reporter: Hwansung Yu
> Assignee: Hyunsung Jo
> Priority: Critical
>
> Current implementation of {{randomInt()}} in {{AsynchbaseQueryBuiler.scala}}
> results in an infinite loop if {{range}} parameter is 0.
> Please add a condition to handle this edge case.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)