Hive normalises view SQL in several ways for the VIEW_EXPANDED_TEXT metastore column. The column list, e.g. from select * is expanded and field names are normalised to include the database name and be enclosed in backticks. This does not appear to be documented and is essentially implementation-defined. Some DDL operations in Hive make assumptions about VIEW_EXPANDED_TEXT content and will crash if Impala generates something slightly different. Note that actually using the view in a query appears to work fine.
We should consider modifying CREATE VIEW in Impala so that it generates VIEW_EXPANDED_TEXT that is normalised in a similar way to Hive to avoid some of these compatibility problems.
The original bug report follows:
create table myTable (x int , y int);
create view myView AS SELECT * FROM myTable;
SHOW TABLE EXTENDED FROM default LIKE 'myview'; --> CRASH
To fix the issue we create the view in hive.
We use aquadatastudio and the "Hive" tree browser crash because he try to run this query.
SHOW TABLE EXTENDED FROM <database> LIKE `*`
Not very good option for us to ask all users to create all views only in "Hive" to avoid this crash.