Github user fhueske commented on a diff in the pull request: https://github.com/apache/flink/pull/2961#discussion_r91738368 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/table.scala --- @@ -881,24 +883,21 @@ class GroupWindowedTable( * }}} */ def select(fields: Expression*): Table = { --- End diff -- At the moment there is no way to specify watermarks inside of a Table API or SQL query. This can only be done on a DataStream before it is converted into a Table. Therefore, watermarks and timestamps are already assigned before the first Table or SQL operator can remove anything. In case of a TableSource which assigns timestamps, the TableSource needs to take care that the assignment happens before a pushed-down projection is applied.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---