Is there a way in Impala to determine whether an object name returned by SHOW TABLES corresponds to a table or a view since:
- this statement only return the object names, without their type
- SHOW CREATE VIEW is just an alias for SHOW CREATE TABLE (same result, no view/table distinction)
- DESCRIBE does not give any clue about the type of the item
Ideally I'd like to list all the tables + views and their types using a single operation, not one to retrieve the tables + views and then another call for each name to determine the type of the object.
(please note the question is about Impala, not Hive)