Tamas Mate created IMPALA-12853:
-----------------------------------

             Summary: Collection types in FROM clause for Iceberg Metadata 
Tables
                 Key: IMPALA-12853
                 URL: https://issues.apache.org/jira/browse/IMPALA-12853
             Project: IMPALA
          Issue Type: Bug
            Reporter: Tamas Mate


Iceberg Metadata Table Collection types are not supported in from clause, 
therefore it is not possible to use 'item' or 'pos' in case of arrays for 
example.

Example query:
{code:java}
select delete_ids.item
from functional_parquet.iceberg_query_metadata.all_files, 
functional_parquet.iceberg_query_metadata.all_files.equality_ids delete_ids; 
{code}
When scanning metadata tables, the whole table and row is read from Iceberg 
which means that the "top" level StructLikeRow is returned. But Impala only 
creates tuples and slots for the selected slots and tuples. This makes 
accessing the values inside StructLikeRows difficult, because it cannot be 
accessed through accessors and these have to be accessed through positions.



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

Reply via email to