Gremlin API count()步骤忽略限制(1) [英] Gremlin API count() step is ignoring limit(1)

查看:260
本文介绍了Gremlin API count()步骤忽略限制(1)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设您有一些顶点插入到Cosmos DB中,例如10

Let's say you have some vertices inserted to Cosmos DB e.g. 10

g.V()。count()

g.V().count()

==> 10

==> 10

如果我们添加limit(1),则计数应该尊重这个并返回1但它不是

If we add limit(1) the count should respect this and return 1 but it is not

gV()。limit(1) .count()

g.V().limit(1).count()

==> 10

==> 10

Tinkerpop控制台中的相同查询针对内存中的图形运行 返回正确的结果。

The same query in Tinkerpop console run against in-memory graph  returns correct results.

这是一个错误Cosmos DB。

This is a bug Cosmos DB.

推荐答案

您好Sebestian,

Hi Sebestian,

感谢您的反馈。我也试图重复这个问题。我能够重现这个问题。

Thanks for your feedback. I have also tried to repro this issue. I was able repro this issue.

我在内部检查。我有更新后会通知您。

I am checking internally. Will let you know once I have update on this.


这篇关于Gremlin API count()步骤忽略限制(1)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆