Csaba Ringhofer created IMPALA-15350:
----------------------------------------
Summary: Clean up colum types supported per table type
Key: IMPALA-15350
URL: https://issues.apache.org/jira/browse/IMPALA-15350
Project: IMPALA
Issue Type: Improvement
Components: Frontend
Reporter: Csaba Ringhofer
Some checks are repeated per statements, e.g. that UUIDs are only allowed in
Iceberg tables:
https://github.com/apache/impala/blob/a921854ac4bd6c2e8a5b2ba896aa639af12f0a08/fe/src/main/java/org/apache/impala/analysis/CreateTableStmt.java#L338
https://github.com/apache/impala/blob/a921854ac4bd6c2e8a5b2ba896aa639af12f0a08/fe/src/main/java/org/apache/impala/analysis/AlterTableAddColsStmt.java#L109
This could be unified in a function like throwIfNotSupported(columnType,
tableType).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]