[
https://issues.apache.org/jira/browse/S2GRAPH-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15106545#comment-15106545
]
ASF GitHub Bot commented on S2GRAPH-20:
---------------------------------------
GitHub user HyunsungJo opened a pull request:
https://github.com/apache/incubator-s2graph/pull/12
[S2GRAPH-20] bug fix in query option "sample"
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HyunsungJo/incubator-s2graph S2GRAPH-20
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-s2graph/pull/12.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #12
----
commit b6571b0bede94ec8582329339b455e338af655ae
Author: jojo <[email protected]>
Date: 2016-01-19T10:11:22Z
[S2GRAPH-20] bug fix in query option "sample"
----
> 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)