Zoltan Borok-Nagy has posted comments on this change. ( 
https://gerrit.cloudera.org/25189 )

Change subject: IMPALA-15616: Treat DEFAULT NULL on nullable Iceberg columns as 
no default
......................................................................


Patch Set 3:

(1 comment)

https://gerrit.cloudera.org/#/c/25189/3/fe/src/main/java/org/apache/impala/analysis/AlterTableAlterColStmt.java
File fe/src/main/java/org/apache/impala/analysis/AlterTableAlterColStmt.java:

https://gerrit.cloudera.org/#/c/25189/3/fe/src/main/java/org/apache/impala/analysis/AlterTableAlterColStmt.java@237
PS3, Line 237:       if (alterColumnSetStmt && !isDropDefault_ && 
newColDef_.hasDefaultValue()) {
The rebase seems to have dropped the PS2 change here. With hasDefaultValue(), 
SET DEFAULT NULL on a TIMESTAMP or BINARY column fails with "default values not 
supported", while DROP DEFAULT works. Could this be alterColumnSetStmt && 
newColDef_.hasIcebergSchemaDefault() (which also covers !isDropDefault_), plus 
a TIMESTAMP SET DEFAULT NULL test



--
To view, visit https://gerrit.cloudera.org/25189
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3d8909ca0004c1eb7fcf3cc1dc9952679ce70eda
Gerrit-Change-Number: 25189
Gerrit-PatchSet: 3
Gerrit-Owner: Arnab Karmakar <[email protected]>
Gerrit-Reviewer: Arnab Karmakar <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Comment-Date: Mon, 09 Nov 2026 13:32:22 +0000
Gerrit-HasComments: Yes

Reply via email to