I think the way that these commands work is a bit inconsistent with the `SHOW TABLES`, `SHOW FUNCTIONS`, and `DESCRIBE xxx` commands.
1. Views are listed as regular tables when calling `SHOW TABLES`. * List tables and views together, but mark views as views * Or add a `SHOW VIEWS` to only list views (and only list tables with `LIST TABLES`) 2. The schema of a view is returned with `DESCRIBE xxx`. This is fine, but IMO, we should also return the query. Showing schema and query with different commands is not intuitive to me. [ Full content available at: https://github.com/apache/flink/pull/6606 ] This message was relayed via gitbox.apache.org for [email protected]
