Skip to content

Commit

Permalink
fix yield (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
HarrisChu authored Feb 24, 2022
1 parent 19a8f4d commit 1ff07ee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nebula_bench/scenarios/go.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 1ff07ee

Please sign in to comment.