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则可以正常运行,如下图所示: