Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-13373

Analytic query with struct from view fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • Backend, Frontend
    • None
    • ghx-label-10

    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;
      

       

      Attachments

        Activity

          People

            daniel.becker Daniel Becker
            daniel.becker Daniel Becker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: