You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by GitBox <gi...@apache.org> on 2020/10/22 02:35:30 UTC

[GitHub] [kylin] hit-lacus commented on a change in pull request #1457: KYLIN-4792 Verify several attribute values of segment in the build/me…

hit-lacus commented on a change in pull request #1457:
URL: https://github.com/apache/kylin/pull/1457#discussion_r509844056



##########
File path: kylin-spark-project/kylin-spark-engine/src/test/java/org/apache/kylin/engine/spark/LocalWithSparkSessionTest.java
##########
@@ -328,4 +337,27 @@ protected void checkJobTmpPathDeleted(KylinConfig config, CubingJob job) {
         } catch (IOException e) {
         }
     }
+
+    public Map<Long, Short> leftJoinCubeCuboidShardNums() {
+        Map<Long, Short> cuboidShardNums = Maps.newConcurrentMap();
+        cuboidShardNums.put((long)2097151, (short)1);

Review comment:
       Use `2097151 L` instead of `(long)2097151` is recommended, I think.




----------------------------------------------------------------
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:
users@infra.apache.org