I think we can't add this function in `TableEnvironment`. Reasons are: - `table.isInstanceOf[RelTable]` is not necessary a View. `RelTable` can be registered through `registerTable()`. - `TableEnvironment` currently doesn't support view. It is only supported in SQL-Client now.
As a choice, you can list views directly from the `session` passed to the `listViews()`. Also pay attention to the order. [ Full content available at: https://github.com/apache/flink/pull/6631 ] This message was relayed via gitbox.apache.org for [email protected]
