You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Zoltán Borók-Nagy (Jira)" <ji...@apache.org> on 2020/12/17 12:01:01 UTC
[jira] [Resolved] (IMPALA-10358) Correct Iceberg type mappings
[ https://issues.apache.org/jira/browse/IMPALA-10358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zoltán Borók-Nagy resolved IMPALA-10358.
----------------------------------------
Fix Version/s: Impala 4.0
Resolution: Fixed
> Correct Iceberg type mappings
> -----------------------------
>
> Key: IMPALA-10358
> URL: https://issues.apache.org/jira/browse/IMPALA-10358
> Project: IMPALA
> Issue Type: Bug
> Reporter: Zoltán Borók-Nagy
> Assignee: Zoltán Borók-Nagy
> Priority: Major
> Labels: impala-iceberg
> Fix For: Impala 4.0
>
>
> The Iceberg format spec defines what types to use for different file formats, e.g.:
> [https://iceberg.apache.org/spec/#parquet]
> Impala should follow the specification:
> * Strings in Iceberg tables should be annotated with UTF8 (when file format is Parquet)
> * Revise fixed(L) <-> CHAR(L) mapping
> ** CHAR(L) in Impala is annotated with UTF8
> ** fixed(L) is for fixed-length binary data
> ** We should probably remove this mapping
> UPDATE: A [recent pull request|https://github.com/apache/iceberg/pull/1612] added a new Iceberg class, [HiveSchemaConverter|https://github.com/apache/iceberg/blob/master/mr/src/main/java/org/apache/iceberg/mr/hive/HiveSchemaConverter.java]. We should use this class to convert between Iceberg and Hive schemas.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)