OrientDB:限制的奇怪行为
OrientDB: Weird behaviour of limit
大家好(再次),
当我将 LIMIT
关键字与 in()
和 expand()
:
一起使用时,我看到了 OrientDB 的奇怪行为
查询
select expand(in()) from Employee
returns0 item(s) found. Query executed in 0.0 sec(s).
,而查询
select expand(in()) from Employee limit 1000
returns 52 item(s) found. Query executed in 0.062 sec(s).
有人知道发生了什么事吗?
不幸的是,我无法共享我正在使用的数据,但是,我的员工 class 有 > 15k 个实例,其中只有 ~1400 个实例有边缘。
我看到你是来自工作室的运行查询。
默认情况下限制为 20,这可能意味着在前 20 名员工中您没有 in() 关系。
所以结果集是空的。
但我认为这是一个错误,最近已修复。
https://github.com/orientechnologies/orientdb/issues/5153
大家好(再次),
当我将 LIMIT
关键字与 in()
和 expand()
:
查询
select expand(in()) from Employee
returns0 item(s) found. Query executed in 0.0 sec(s).
,而查询
select expand(in()) from Employee limit 1000
returns 52 item(s) found. Query executed in 0.062 sec(s).
有人知道发生了什么事吗? 不幸的是,我无法共享我正在使用的数据,但是,我的员工 class 有 > 15k 个实例,其中只有 ~1400 个实例有边缘。
我看到你是来自工作室的运行查询。 默认情况下限制为 20,这可能意味着在前 20 名员工中您没有 in() 关系。
所以结果集是空的。 但我认为这是一个错误,最近已修复。 https://github.com/orientechnologies/orientdb/issues/5153