zhangayqian commented on pull request #1058: URL: https://github.com/apache/kylin/pull/1058#issuecomment-644638893
### Design test case - Create project named `testGlobalDicProject1`, from Hive load data source table`useractionLog` for this project - Create one model `testGlobalDicModel1` and two cube `testGlobalCube1` and `testGlobalCube2` in project `testGlobalDicProject1`, add count distinct precisely measure for column `PV_ID` in `testGlobalCube1` add count distinct precisely measure for column `PLAY_ID` in `testGlobalCube2` - Build two cube - Create another hive table `useractionLog_Copy` with the same data as `useractionLog` - Create project named `testGlobalDicProject2`, from Hive load data source table`useractionLog_Copy` for this project - Create two cube `testGlobalCubeCopy` in project `testGlobalDicProject2`, add count distinct precisely measure for column `PV_ID` in `testGlobalCubeCopy`, and in `Advanced Dictionaries` choose `Reuse Global Domain`, set `Reuse Model Name` to `testGlobalDicModel1`, `Reuse Cube Name` to `testGlobalCube1`, `USERACTIONLOG.PV_ID` to `Reuse table.column`. add count distinct precisely measure for column `PLAY_ID` in `testGlobalCubeCopy`, and in `Advanced Dictionaries` choose `Reuse Global Domain`, set `Reuse Model Name` to `testGlobalDicModel1`, `Reuse Cube Name` to `testGlobalCube2`, `Reuse table.column` to `USERACTIONLOG.PLAY_ID`. - Build cube `testGlobalCubeCopy` with MR engine, query this cube after build complete. - Clone cube `testGlobalCubeCopy` and renamed to `testGlobalCubeCopy`, modify Build engine to Spark and build, query this cube after build complete. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
