zhuxiaoshang commented on a change in pull request #13519:
URL: https://github.com/apache/flink/pull/13519#discussion_r503015445



##########
File path: 
flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/runtime/operators/over/AbstractRowTimeUnboundedPrecedingOver.java
##########
@@ -68,6 +70,17 @@
 
        protected transient AggsHandleFunction function;
 
+       // 
------------------------------------------------------------------------
+       // Metrics
+       // 
------------------------------------------------------------------------
+       protected static final String LATE_ELEMENTS_DROPPED_METRIC_NAME = 
"numLateRecordsDropped";
+       private transient Counter numLateRecordsDropped;
+
+       @VisibleForTesting
+       public Counter getCounter() {

Review comment:
       we can access it by `getCounter()`,do you mean that change Counter to 
`protected` and remove `getCounter() `?




----------------------------------------------------------------
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