as I remember, this is related to cube planner feature, because the cube planner algorithm will run after the statistics step, and it will change the cuboid tree structure defined by static rules, also the layer’s number will be changed accordingly, if use the original layer number some layer cuboids may be missed. @Yanghong may confirm this.
On 11/01/2018 16:27, you Zhuang wrote: In BatchCubingJobBuilder2.java, line 122: final int maxLevel = CuboidUtil.getLongestDepth(seg.getCuboidScheduler().getAllCuboidIds()); Is this some more complicated? Why not use seg.getCuboidScheduler().getBuildLevel()); I see this snippet at line 71 in CuboidJob.java
