[
https://issues.apache.org/jira/browse/IMPALA-14232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Becker updated IMPALA-14232:
-----------------------------------
Description:
When an Iceberg table contains an array and the table has delete files, reading
from it fails:
{code:java}
create table tdelcoll (i int, a array<int>) stored as iceberg
tblproperties('format-version'='2');
from Hive: insert into tdelcoll values (1, array(2,3));
from Hive: insert into tdelcoll values (2, array(3,4)), (3, array(4,5));
delete from tdelcoll where i=2;
select item from tdelcoll.a;
result: AnalysisException: Could not resolve column/field reference:
'tdelcoll.a.input_file_name'
{code}
was:
When an Iceberg table contains an array and the table has delete files, reading
from it fails:
{code:java}
create table tdelcoll (i int, a array<int>) stored as iceberg;
alter table tdelcoll set tblproperties('format-version'='2');
from Hive: insert into tdelcoll values (1, array(2,3));
from Hive: insert into tdelcoll values (2, array(3,4)), (3, array(4,5));
delete from tdelcoll where i=2;
select item from tdelcoll.a;
result: AnalysisException: Could not resolve column/field reference:
'tdelcoll.a.input_file_name'
{code}
> AnalysisException when reading Iceberg table containing array with DELETE
> files
> -------------------------------------------------------------------------------
>
> Key: IMPALA-14232
> URL: https://issues.apache.org/jira/browse/IMPALA-14232
> Project: IMPALA
> Issue Type: Bug
> Components: Frontend
> Reporter: Daniel Becker
> Assignee: Daniel Becker
> Priority: Major
>
> When an Iceberg table contains an array and the table has delete files,
> reading from it fails:
> {code:java}
> create table tdelcoll (i int, a array<int>) stored as iceberg
> tblproperties('format-version'='2');
> from Hive: insert into tdelcoll values (1, array(2,3));
> from Hive: insert into tdelcoll values (2, array(3,4)), (3, array(4,5));
> delete from tdelcoll where i=2;
> select item from tdelcoll.a;
> result: AnalysisException: Could not resolve column/field reference:
> 'tdelcoll.a.input_file_name'
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]