@@ -46,43 +46,43 @@ object TransformationStage extends SparkApp with Logging {
46
46
" `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `explicitlyDeleted` BOOLEAN, `id` BIGINT, `locationIP` STRING, `browserUsed` STRING, `content` STRING, `length` INT, `CreatorPersonId` BIGINT, `LocationCountryId` INT, `ParentPostId` BIGINT, `ParentCommentId` BIGINT"
47
47
),
48
48
Edge (" HasTag" , " Comment" , " Tag" , NN ) -> Some (
49
- " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `Comment.id ` BIGINT, `Tag.id ` INT"
49
+ " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `CommentId ` BIGINT, `TagId ` INT"
50
50
),
51
51
Node (" Forum" ) -> Some (
52
52
" `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `explicitlyDeleted` BOOLEAN, `id` BIGINT, `title` STRING, `ModeratorPersonId` BIGINT"
53
53
),
54
54
Edge (" HasMember" , " Forum" , " Person" , NN ) -> Some (
55
- " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `explicitlyDeleted` BOOLEAN, `Forum.id ` BIGINT, `Person.id ` BIGINT"
55
+ " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `explicitlyDeleted` BOOLEAN, `ForumId ` BIGINT, `PersonId ` BIGINT"
56
56
),
57
57
Edge (" HasTag" , " Forum" , " Tag" , NN ) -> Some (
58
- " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `Forum.id ` BIGINT, `Tag.id ` INT"
58
+ " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `ForumId ` BIGINT, `TagId ` INT"
59
59
),
60
60
Node (" Person" ) -> Some (
61
61
" `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `explicitlyDeleted` BOOLEAN, `id` BIGINT, `firstName` STRING, `lastName` STRING, `gender` STRING, `birthday` DATE, `locationIP` STRING, `browserUsed` STRING, `LocationCityId` INT, `language` STRING, `email` STRING"
62
62
),
63
63
Edge (" HasInterest" , " Person" , " Tag" , NN ) -> Some (
64
- " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `Person.id ` BIGINT, `Tag.id ` INT"
64
+ " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `PersonId ` BIGINT, `TagId ` INT"
65
65
),
66
66
Edge (" Knows" , " Person" , " Person" , NN ) -> Some (
67
- " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `explicitlyDeleted` BOOLEAN, `Person1.id ` BIGINT, `Person2.id ` BIGINT"
67
+ " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `explicitlyDeleted` BOOLEAN, `Person1Id ` BIGINT, `Person2Id ` BIGINT"
68
68
),
69
69
Edge (" Likes" , " Person" , " Comment" , NN ) -> Some (
70
- " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `explicitlyDeleted` BOOLEAN, `Person.id ` BIGINT, `Comment.id ` BIGINT"
70
+ " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `explicitlyDeleted` BOOLEAN, `PersonId ` BIGINT, `CommentId ` BIGINT"
71
71
),
72
72
Edge (" Likes" , " Person" , " Post" , NN ) -> Some (
73
- " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `explicitlyDeleted` BOOLEAN, `Person.id ` BIGINT, `Post.id ` BIGINT"
73
+ " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `explicitlyDeleted` BOOLEAN, `PersonId ` BIGINT, `PostId ` BIGINT"
74
74
),
75
75
Edge (" StudyAt" , " Person" , " University" , OneN ) -> Some (
76
- " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `Person.id ` BIGINT, `University.id ` INT, `classYear` INT"
76
+ " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `PersonId ` BIGINT, `UniversityId ` INT, `classYear` INT"
77
77
),
78
78
Edge (" WorkAt" , " Person" , " Company" , NN ) -> Some (
79
- " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `Person.id ` BIGINT, `Company.id ` INT, `workFrom` INT"
79
+ " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `PersonId ` BIGINT, `CompanyId ` INT, `workFrom` INT"
80
80
),
81
81
Node (" Post" ) -> Some (
82
82
" `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `explicitlyDeleted` BOOLEAN, `id` BIGINT, `imageFile` STRING, `locationIP` STRING, `browserUsed` STRING, `language` STRING, `content` STRING, `length` INT, `CreatorPersonId` BIGINT, `ContainerForumId` BIGINT, `LocationCountryId` INT"
83
83
),
84
84
Edge (" HasTag" , " Post" , " Tag" , NN ) -> Some (
85
- " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `Post.id ` BIGINT, `Tag.id ` INT"
85
+ " `creationDate` TIMESTAMP, `deletionDate` TIMESTAMP, `PostId ` BIGINT, `TagId ` INT"
86
86
)
87
87
)
88
88
)
0 commit comments