Github user KurtYoung commented on the issue:
https://github.com/apache/flink/pull/3281
Hi @fhueske , thanks for your reviewing and comments, it makes sense to me.
The motivation behind this refactoring is we want to eliminate most differences
between batch and stream execution environment, and use `TableEnvironment` only
when they writing programs.
How about we still keep `registerTableSource` in `TableEnvironment` and
leave the implementation to the specific env, and do some type validation
before registration.
---
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.
---