Skip to content

Commit

Permalink
KYLIN-5054 kylin_system's project and cubes create time is wrong 1970
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonu Kumar Singh authored and hit-lacus committed Nov 3, 2021
1 parent c559967 commit e3c8664
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static CubeInstance generateKylinCubeInstance(String owner, String tableN
cubeInstance.setDescName(tableName.replace('.', '_'));
cubeInstance.setStatus(RealizationStatusEnum.DISABLED);
cubeInstance.setOwner(owner);
cubeInstance.setCreateTimeUTC(0L);
cubeInstance.setCreateTimeUTC(System.currentTimeMillis());
cubeInstance.updateRandomUuid();

return cubeInstance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static ProjectInstance generateKylinProjectInstance(String owner, List<Ta
projectInstance.setOwner(owner);
projectInstance.setDescription(SYSTEM_PROJECT_DESC);
projectInstance.setStatus(ProjectStatusEnum.ENABLED);
projectInstance.setCreateTimeUTC(0L);
projectInstance.setCreateTimeUTC(System.currentTimeMillis());
projectInstance.updateRandomUuid();

if (kylinTables != null)
Expand Down

0 comments on commit e3c8664

Please sign in to comment.