beyond1920 commented on a change in pull request #14905:
URL: https://github.com/apache/flink/pull/14905#discussion_r580156616



##########
File path: 
flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/runtime/operators/window/slicing/SliceAssigners.java
##########
@@ -321,20 +322,15 @@ public void mergeSlices(long sliceEnd, MergeCallback 
callback) throws Exception
         private static final long serialVersionUID = 1L;
 
         private final int windowEndIndex;
-        private final long windowSize;
+        private final SliceAssigner innerAssigner;
         private final ReusableListIterable reuseExpiredList = new 
ReusableListIterable();
 
-        public WindowedSliceAssigner(int windowEndIndex, long windowSize) {
+        public WindowedSliceAssigner(int windowEndIndex, SliceAssigner 
innerAssigner) {

Review comment:
       I understand. However, why not use `TimeWindow` as namespace?




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


Reply via email to