Nándor Kollár created IMPALA-15701:
--------------------------------------

             Summary: NullPointerException when loading Iceberg REST catalog 
tables with mixed-case column names
                 Key: IMPALA-15701
                 URL: https://issues.apache.org/jira/browse/IMPALA-15701
             Project: IMPALA
          Issue Type: Bug
            Reporter: Nándor Kollár


Impala fails to load an Iceberg table from a REST catalog if the table has a 
column name with uppercase letters, e.g. "userId". Every statement on the table 
fails, including DESCRIBE:

{code:java}
AnalysisException: Error opening Iceberg table 'repro.mixed_case_cols'
CAUSED BY: TableLoadingException: Error opening Iceberg table 
'repro.mixed_case_cols'
CAUSED BY: NullPointerException: Cannot invoke 
"org.apache.iceberg.types.Types$NestedField.fieldId()" because "field" is null
{code}

To reproduce, create a table with a mixed-case column name in the REST catalog 
(e.g. with Spark or through the REST API), then run DESCRIBE or SELECT on it 
from Impala.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to