官方GO语句示例疑问

  • nebula 版本:2.0
  • 部署方式(分布式 / 单机 / Docker / DBaaS):单机
  • 是否为线上版本:N
  • 问题的具体描述
    官方GO语句示例如下
nebula> GO FROM "player100" OVER follow YIELD follow._dst AS id | \
                GO FROM $-.id OVER serve YIELD $$.team.name AS Team, \
                $^.player.name AS Player;
+-----------+---------------+
| Team      | Player        |
+-----------+---------------+
| "Nuggets" | "Tony Parker" |
+-----------+---------------+
Got 1 rows (time spent 5055/8203 us)

改为

GO FROM "player100" OVER follow YIELD follow._dst AS id |
GO FROM $-.id OVER serve YIELD $$.team.name AS Team;

可以获得Team结果
但改为

GO FROM "player100" OVER follow YIELD follow._dst AS id |
GO FROM $-.id OVER serve YIELD $^.player.name AS Player;

结果为空,这是为什么?
或者说如何获取有team的player?

1 个赞

可能是个bug,但是在最新的版本上没有这个问题,也许已经解决了 ,你可以试试最新的版本

1 个赞

该主题在最后一个回复创建后30天后自动关闭。不再允许新的回复。

浙ICP备20010487号