Github user KurtYoung commented on a diff in the pull request: https://github.com/apache/flink/pull/2961#discussion_r91729382 --- 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 -- What if user use a customized watermark extracter which used some fields from the element. For example, we have original table source containing 4 fields: a, b, c, d. And user used "a" field to extract the timestamp and watermark. But in the later query on the table, only "b" and "c" are used. And if we do a projection on "b" and "c", and the projection is pushed into table source further, we will not get field "a" which used to produce timestamp anymore.
--- 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. ---