Daniel Becker created IMPALA-13373:
--------------------------------------

             Summary: Analytic query with struct from view fails
                 Key: IMPALA-13373
                 URL: https://issues.apache.org/jira/browse/IMPALA-13373
             Project: IMPALA
          Issue Type: Bug
          Components: Backend, Frontend
            Reporter: Daniel Becker
            Assignee: Daniel Becker


Analytic query with struct from view fails, while the same query from the table 
behind the view succeeds.

This is how to reproduce it:

 
{code:java}
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;
{code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to