flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nellboy <...@git.apache.org>
Subject [GitHub] flink pull request #3366: [FLINK-3427] [webui] watermarks tab and low waterm...
Date Thu, 23 Feb 2017 14:38:50 GMT
Github user nellboy commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3366#discussion_r102725785
  
    --- Diff: flink-runtime-web/web-dashboard/app/scripts/common/filters.coffee ---
    @@ -87,3 +87,27 @@ angular.module('flinkApp')
     
     .filter "percentage", ->
       (number) -> (number * 100).toFixed(0) + '%'
    +
    +.filter "parseWatermark", ->
    +  (value) ->
    +    if value <= -9223372036854776000
    +      return 'No Watermark'
    +    else
    +      return value
    +
    +.filter "lowWatermark", ->
    +  (watermarks, nodeid) ->
    +    lowWatermark = "None"
    +    if watermarks != null && watermarks[nodeid] && watermarks[nodeid].length
    +      values = (watermark.value for watermark in watermarks[nodeid])
    +      lowWatermark = Math.min.apply(null, values)
    +      if lowWatermark <= -9223372036854776000
    +        lowWatermark = "No Watermark"
    --- End diff --
    
    Fixed with latest push


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message