From 1ff07ee175a356249750857c2041d0aa6ad0640c Mon Sep 17 00:00:00 2001 From: "Harris.Chu" <1726587+HarrisChu@users.noreply.github.com> Date: Thu, 24 Feb 2022 17:12:52 +0800 Subject: [PATCH] fix yield (#61) --- nebula_bench/scenarios/go.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nebula_bench/scenarios/go.py b/nebula_bench/scenarios/go.py index d0da279..fee63c9 100644 --- a/nebula_bench/scenarios/go.py +++ b/nebula_bench/scenarios/go.py @@ -4,21 +4,21 @@ class BaseGoScenario(BaseScenario): abstract = True - nGQL = "GO 1 STEP FROM {} OVER KNOWS" + nGQL = "GO 1 STEP FROM {} OVER KNOWS yield KNOWS.creationDate" csv_path = "social_network/dynamic/person.csv" csv_index = [0] class Go1Step(BaseGoScenario): abstract = False - nGQL = "GO 1 STEP FROM {} OVER KNOWS" + nGQL = "GO 1 STEP FROM {} OVER KNOWS yield KNOWS.creationDate" class Go2Step(BaseGoScenario): abstract = False - nGQL = "GO 2 STEP FROM {} OVER KNOWS" + nGQL = "GO 2 STEP FROM {} OVER KNOWS yield KNOWS.creationDate" class Go3Step(BaseGoScenario): abstract = False - nGQL = "GO 3 STEP FROM {} OVER KNOWS" + nGQL = "GO 3 STEP FROM {} OVER KNOWS yield KNOWS.creationDate"