Zoltan Borok-Nagy has posted comments on this change. ( https://gerrit.cloudera.org/24536 )
Change subject: IMPALA-15162: Add GEOMETRY column support for Iceberg and Parquet ...................................................................... Patch Set 26: (4 comments) https://gerrit.cloudera.org/#/c/24536/26//COMMIT_MSG Commit Message: https://gerrit.cloudera.org/#/c/24536/26//COMMIT_MSG@32 PS26, Line 32: - Validate logical type and CRS on Parquet read. ValidateColumn() only checks the CRS; e.g. a GEOGRAPHY- or UTF8-annotated column is read into a GEOMETRY slot without an error. Either add the logical type check or reword this. https://gerrit.cloudera.org/#/c/24536/26//COMMIT_MSG@67 PS26, Line 67: Assisted-by: Claude Opus 4.6 nit: AGENTS.md asks for 'Assisted-by: <model> (<agent-name>)', e.g. 'Assisted-by: Claude Opus 4.6 (Claude Code)'. https://gerrit.cloudera.org/#/c/24536/26/fe/src/main/java/org/apache/impala/util/IcebergSchemaConverter.java File fe/src/main/java/org/apache/impala/util/IcebergSchemaConverter.java: https://gerrit.cloudera.org/#/c/24536/26/fe/src/main/java/org/apache/impala/util/IcebergSchemaConverter.java@155 PS26, Line 155: // struct<..>, GEOMETRY -> binary); Impala keeps the real Iceberg type from the The comment in Type.toHiveMetastoreType() (Type.java:204) still says the GEOMETRY -> binary mapping is "reached only for views". This patch uses it for Iceberg tables here and for column stats in CatalogOpExecutor, so please update it. https://gerrit.cloudera.org/#/c/24536/26/testdata/workloads/functional-query/queries/QueryTest/iceberg-geometry.test File testdata/workloads/functional-query/queries/QueryTest/iceberg-geometry.test: https://gerrit.cloudera.org/#/c/24536/26/testdata/workloads/functional-query/queries/QueryTest/iceberg-geometry.test@214 PS26, Line 214: SELECT readable_metrics FROM $DATABASE.iceberg_geom_ctas.entries With expand_complex_types=true (the default), this also makes 'SELECT * FROM t.files' / 't.entries' fail on any table with a GEOMETRY column, which is a common diagnostic query. Iceberg geometry bounds are bbox points, not WKB, so could the metadata tables expose them as BINARY instead? Otherwise please note it in IMPALA-15244. -- To view, visit https://gerrit.cloudera.org/24536 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I32d8c12a6b71708646fbfc06a6dd8f7aaf4f5e6b Gerrit-Change-Number: 24536 Gerrit-PatchSet: 26 Gerrit-Owner: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Balazs Hevele <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Jason Fehr <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]> Gerrit-Comment-Date: Tue, 24 Nov 2026 16:20:26 +0000 Gerrit-HasComments: Yes
