Peter Rozsa has uploaded this change for review. ( https://gerrit.cloudera.org/25457
Change subject: IMPALA-12667: Document interoperability of tables converted to Iceberg ...................................................................... IMPALA-12667: Document interoperability of tables converted to Iceberg ALTER TABLE ... CONVERT TO ICEBERG reuses the existing data files, so a converted table keeps Parquet files that Impala wrote without the UTF-8 annotation on STRING columns (the default before Impala 5.0, or when PARQUET_ANNOTATE_STRINGS_UTF8=false). Such columns can also hold bytes that are not valid UTF-8, because Impala does not validate unannotated values. The Iceberg spec requires both the annotation and UTF-8 encoding, so other engines might fail to read the converted table. This change documents the issue in the "Converting existing tables to Iceberg tables" section and describes CREATE TABLE AS SELECT as a workaround, including how to find invalid rows with IS_VALID_UTF8() and how to keep non-UTF-8 data by casting to BINARY. Testing: - Validated the documented behavior on a local cluster: converted a Parquet table written with PARQUET_ANNOTATE_STRINGS_UTF8=false, inspected the Parquet footers, read the table with Impala, the Iceberg Java generic reader and PyIceberg, and checked the CTAS, IS_VALID_UTF8() and BINARY cast workarounds. - Built the asf-site-html docs without errors or warnings. Change-Id: Ib703362f86434ed1456603196f3679147731da81 Assisted-by: Claude Opus 5.5 (OpenCode) --- M docs/topics/impala_iceberg.xml 1 file changed, 31 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/57/25457/1 -- To view, visit https://gerrit.cloudera.org/25457 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ib703362f86434ed1456603196f3679147731da81 Gerrit-Change-Number: 25457 Gerrit-PatchSet: 1 Gerrit-Owner: Peter Rozsa <[email protected]> Gerrit-Reviewer: Noemi Pap-Takacs <[email protected]> Gerrit-Reviewer: Peter Rozsa <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
