Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not yield variable results now #2633

Open
yixinglu opened this issue Jul 14, 2021 · 2 comments
Open

Could not yield variable results now #2633

yixinglu opened this issue Jul 14, 2021 · 2 comments
Labels
need to discuss Solution: issue or PR without a clear conclusion on whether to handle it type/feature req Type: feature request

Comments

@yixinglu
Copy link
Contributor

YIELD

(root@nebula) [nba]> go from "Tim Duncan" Over like where like.likeness > 90 yield $$.player.name;
+-----------------+
| $$.player.name  |
+-----------------+
| "Manu Ginobili" |
+-----------------+
| "Tony Parker"   |
+-----------------+
Got 2 rows (time spent 6663/7014 us)

Wed, 14 Jul 2021 15:40:02 CST

(root@nebula) [nba]> $var = go from "Tim Duncan" Over like where like.likeness > 90 yield $$.player.name; yield $var;

+------+
| $var |
+------+
|      |
+------+
Got 1 rows (time spent 7044/7380 us)

Wed, 14 Jul 2021 15:39:41 CST

WITH

(root@nebula) [nba]> go from "Tim Duncan" Over like where like.likeness > 90 yield $$.player.name AS names | with collect($-.names) as v return v;
+----------------------------------+
| v                                |
+----------------------------------+
| ["Manu Ginobili", "Tony Parker"] |
+----------------------------------+
Got 1 rows (time spent 5984/6363 us)

Wed, 14 Jul 2021 15:42:21 CST

(root@nebula) [nba]> $var = go from "Tim Duncan" Over like where like.likeness > 90 yield $$.player.name; with collect($var) as v return v;
+----+
| v  |
+----+
| [] |
+----+
Got 1 rows (time spent 8720/9189 us)

Wed, 14 Jul 2021 15:41:52 CST
@Shylock-Hg
Copy link
Contributor

The input of match should disabled in vesoft-inc/nebula-graph#1196

@Shylock-Hg
Copy link
Contributor

Shylock-Hg commented Jul 15, 2021

Yield variable should be disabled too. In above, the result contains the dataset, but console don't display the dataset in cell.

@CPWstatic CPWstatic transferred this issue from vesoft-inc/nebula-graph Aug 27, 2021
@CPWstatic CPWstatic added type/feature req Type: feature request need to discuss Solution: issue or PR without a clear conclusion on whether to handle it labels Aug 28, 2021
yixinglu added a commit to yixinglu/nebula that referenced this issue Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need to discuss Solution: issue or PR without a clear conclusion on whether to handle it type/feature req Type: feature request
Projects
None yet
Development

No branches or pull requests

3 participants