You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Csaba Ringhofer (Jira)" <ji...@apache.org> on 2024/04/09 15:21:00 UTC
[jira] [Created] (IMPALA-12987) Errors with \0 character in partition values
Csaba Ringhofer created IMPALA-12987:
----------------------------------------
Summary: Errors with \0 character in partition values
Key: IMPALA-12987
URL: https://issues.apache.org/jira/browse/IMPALA-12987
Project: IMPALA
Issue Type: Bug
Reporter: Csaba Ringhofer
Inserting strings with "\0" values to partition columns leads errors both in Iceberg and Hive tables.
The issue issue more severe in Iceberg tables as from this point the table can't be read in Impala or Hive:
{code}
create table iceberg_unicode (s string, p string) partitioned by spec (identity(p)) stored as iceberg;
insert into iceberg_unicode select "a", "a\0a";
ERROR: IcebergTableLoadingException: Error loading metadata for Iceberg table hdfs://localhost:20500/test-warehouse/iceberg_unicode
CAUSED BY: TableLoadingException: Refreshing file and block metadata for 1 paths for table default.iceberg_unicode: failed to load 1 paths. Check the catalog server log for more details.
{code}
In partition Hive tables the insert also returns an error, but the new partition is not created and the table remains usable. The error is similare to IMPALA-11499's
--
This message was sent by Atlassian Jira
(v8.20.10#820010)