You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hugegraph.apache.org by "lokidundun (via GitHub)" <gi...@apache.org> on 2026/07/27 11:46:25 UTC
Re: [I] [Bug] Wrong result for where(count().is(lt(0))) when counted traversal is empty [hugegraph]
lokidundun commented on issue #3084:
URL: https://github.com/apache/hugegraph/issues/3084#issuecomment-5090887148
I checked the current master branch: the root cause of this issue was fixed in [#2993](https://github.com/apache/hugegraph/pull/2993).
HugeCountStrategy recognizes negative bounds such as count().is(lt(0)) and prevents them from being incorrectly optimized into not(...). Therefore, for a vertex without R edges, count() is 0, and 0 < 0 correctly evaluates to false, so the expected result is [].
PR #2993 was merged on 2026-04-17,. It would be useful to verify the actual image version or build commit behind hugegraph/hugegraph:latest. If the issue is still reproducible with that image, it may mean that the released image does not include the fix, rather than that the current source code remains affected.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org