File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/ldbc/socialnet/dbgen Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -620,7 +620,7 @@ public int runGenerateJob(Configuration conf) throws Exception {
620
620
621
621
if (conf .getBoolean ("updateStreams" ,false )) {
622
622
OutputStream output = fs .create (new Path (conf .get ("outputDir" ) + "/social_network/updateStream.properties" ));
623
- output .write (new String ("ldbc.snb.interactive.gctdeltaduration :" +conf .get ("deltaTime" )+"\n " ).getBytes ());
623
+ output .write (new String ("ldbc.snb.interactive.gct_delta_duration :" +conf .get ("deltaTime" )+"\n " ).getBytes ());
624
624
output .write (new String ("ldbc.snb.interactive.min_write_event_start_time:" +min +"\n " ).getBytes ());
625
625
output .write (new String ("ldbc.snb.interactive.max_write_event_start_time:" +max +"\n " ).getBytes ());
626
626
output .write (new String ("ldbc.snb.interactive.update_interleave:" +(max -min )/numEvents +"\n " ).getBytes ());
Original file line number Diff line number Diff line change @@ -394,7 +394,7 @@ public void serialize(UserInfo info) {
394
394
ArrayList <String > studyAtData = new ArrayList <String >();
395
395
date .setTimeInMillis (info .extraInfo .getClassYear ());
396
396
studyAtData .add (Long .toString (universityId ));
397
- studyAtData .add (Long . toString (date . getTime (). getTime () ));
397
+ studyAtData .add (DateGenerator . formatYear (date ));
398
398
list .add (formatStringArray (studyAtData ,"," ));
399
399
}
400
400
}
@@ -407,7 +407,7 @@ public void serialize(UserInfo info) {
407
407
date .setTimeInMillis (info .extraInfo .getWorkFrom (companyId ));
408
408
ArrayList <String > workAtData = new ArrayList <String >();
409
409
workAtData .add (Long .toString (companyId ));
410
- workAtData .add (Long . toString (date . getTime (). getTime () ));
410
+ workAtData .add (DateGenerator . formatYear (date ));
411
411
list .add (formatStringArray (workAtData ,"," ));
412
412
}
413
413
endList ();
You can’t perform that action at this time.
0 commit comments