Details
Description
Analytic query with struct from view fails, while the same query from the table behind the view succeeds.
This is how to reproduce it:
CREATE TABLE tbl ( s STRUCT<id:STRING,type:STRING, b:BOOLEAN> ) STORED AS PARQUET; CREATE VIEW view_tbl AS SELECT s FROM tbl; SELECT MAX(view_tbl.s.type) OVER (PARTITION BY view_tbl.s.id) AS type FROM view_tbl;