-
nebula 版本:v2.0.0和v2.0.1都有这个问题 v1.x没试
-
部署方式 单机 :windows 10的ubuntu18 子系统
-
是否为线上版本: N
SSD固态,8代i7桌面版,8G运行内存 -
相关的 meta / storage / graph info 日志信息:
/usr/local/nebula/logs/* 所有文件没有该报错信息 -
问题的具体描述
在where里面使用sum,服务直接挂了,明明sum可以作用于列表和单个数字,sum放在with后面也没事,数据结构就tag:man(name),edge:hand(amount)。可以通过其他方式避免,但是重点是服务宕机。
挂的服务是graph,那个计算服务,3个中就这个挂了,也就是meta和stroge没挂
不止是sum,其它的也有,但是我忘了,这个确定会挂:
[man_test]> match p=(m)-[e:hand*0…9]->(c) where id(m)==76012734 and id(c)==183720010 with last(relationships(p)).amount as a,p as d where sum(a)>25 return a,d;
重新建过space,仍然有这个问题
这个问题可以把sum写在前面解决掉,但是问题是错误语句应该返回错误信息,而不是宕机
[man_test]> match p=(m)-[e:hand*0…9]->(c) where id(m)==76012734 and id(c)==183720010 with sumlast(relationships(p)).amount) as a,p as d where a>25 return a,d;
图片中有具体情况,包括数据结构