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 2021/06/18 21:22:15 UTC
[GitHub] [kylin] hit-lacus commented on a change in pull request #1644: [KYLIN-4983]add rule for submit build job: forbid submitting appending segment in the lambda stream cube
hit-lacus commented on a change in pull request #1644:
URL: https://github.com/apache/kylin/pull/1644#discussion_r654171671
##########
File path: server-base/src/main/java/org/apache/kylin/rest/service/JobService.java
##########
@@ -435,6 +438,26 @@ private void checkAllowBuilding(CubeInstance cube) {
}
}
+ private void checkStreamLambdaBuildingSegment(CubeInstance cube, TSRange tsRange) {
+ Segments<CubeSegment> readycubeSegments = cube.getSegments(SegmentStatusEnum.READY);
+ if (readycubeSegments.size() <= 0) {
Review comment:
I suggest you to remove the branch: `readycubeSegments.size() <= 0` .
--
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