Arnab Karmakar 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 4:

(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 && 
newColDef_.hasIcebergSchemaDefault()) {
> The rebase seems to have dropped the PS2 change here. With hasDefaultValue(
Thanks for the catch, yeah right.
The validation line now uses hasIcebergSchemaDefault(), so SET DEFAULT NULL on 
TIMESTAMP and BINARY passes, and DROP DEFAULT is covered too. Ive also added a 
test case for TIMESTAMP/ BINARY SET DEFAULT NULL



--
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: 4
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 14:24:11 +0000
Gerrit-HasComments: Yes

Reply via email to