Skip to content

Commit 5a9b898

Browse files
committed
FactorGen: Fix attribute names: interestId -> TagId
1 parent b71278e commit 5a9b898

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scala/ldbc/snb/datagen/factors/FactorGenerationStage.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,15 +528,15 @@ object FactorGenerationStage extends DatagenStage with Logging {
528528
"personNumTags" -> Factor(PersonHasInterestTagType) { case Seq(interest) =>
529529
frequency(
530530
interest,
531-
value = $"interestId",
531+
value = $"TagId",
532532
by = Seq($"personId")
533533
)
534534
},
535535
"personNumFriendTags" -> Factor(PersonHasInterestTagType, PersonKnowsPersonType) { case Seq(interest, personKnowsPerson) =>
536536
frequency(
537537
undirectedKnows(personKnowsPerson).as("knows")
538538
.join(interest, $"personId" === $"knows.Person2Id", "leftouter"),
539-
value = $"interestId",
539+
value = $"TagId",
540540
by = Seq($"knows.Person1Id")
541541
)
542542
},

0 commit comments

Comments
 (0)