lixmgl commented on a change in pull request #14483:
URL: https://github.com/apache/flink/pull/14483#discussion_r549503696
##########
File path:
flink-runtime-web/web-dashboard/src/app/share/pipes/humanize-watermark.pipe.ts
##########
@@ -24,7 +24,9 @@ import { LONG_MIN_VALUE } from 'config';
})
export class HumanizeWatermarkPipe implements PipeTransform {
transform(value: any): any {
- if (isNaN(value) || value <= LONG_MIN_VALUE) {
+ if (isNaN(value)) {
+ return 'Watermarks are only available if EventTime is used';
+ } else if (value <= LONG_MIN_VALUE) {
return 'No Watermark';
Review comment:
Thanks for the info, Till. I add the condition when value<= LONG_MIN to
display new message.
----------------------------------------------------------------
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:
[email protected]