Github user sunjincheng121 commented on the issue:
https://github.com/apache/flink/pull/4111
Hi @twalthr I have test this case using the first approach of FLINK-6896.
without `as` clause. It's works well. And with the `as` clause, It can be fixed
by add a case match in
`StreamTableEnvironment#validateAndExtractTimeAttributes`. the code as follows:
`case (Alias(child, name,_), _) => fieldNames = name :: fieldNames` What do
you think?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---