Github user twalthr commented on the issue:
https://github.com/apache/flink/pull/4710
@haohui We only cast ROWTIME / PROCTIME directly to LONG during runtime,
the special types are needed during pre-flight phase and validation. We could
not come up with a better solution that ensures that watermarks stay aligned
with the rowtime.---
