管道符传递rank的值nsql执行报错

nebula 版本:v3.2.0
部署方式:分布式
安装方式: RPM
是否为线上版本:Y

GO FROM "player102" OVER follow3 where follow3._rank < 8 yield rank(edge) as rank, src(edge) as src, dst(edge) as dst | yield $-.src as src, $-.dst as dst, max($-.rank) as max_rank | FETCH PROP ON follow3 $-.src -> $-.dst@$-.max_rank yield edge as e
上述代码执行报错 -1009:SemanticError: `$-.max_rank’ should be type of INT, but was EMPTY

只执行前半部分
GO FROM "player102" OVER follow3 where follow3._rank < 8 yield rank(edge) as rank, src(edge) as src, dst(edge) as dst | yield $-.src as src, $-.dst as dst, max($-.rank) as max_rank
如下图所示:max_rank 是有值的

如果吧 $-.max_rank 改为具体值6则可以正常运行,如下图所示:

是个 bug,提个 issue 吧

好的,谢谢

已修复,可以源码编译测下

1 个赞

收到,谢谢

此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。