beryllw commented on code in PR #2161:
URL: https://github.com/apache/fluss/pull/2161#discussion_r2685641721
##########
fluss-common/src/main/java/org/apache/fluss/metadata/Schema.java:
##########
@@ -696,9 +710,7 @@ private static List<Column> normalizeColumns(
}
// primary key and auto increment column should not nullable
- if ((pkSet.contains(column.getName())
- ||
autoIncrementColumnNames.contains(column.getName()))
Review Comment:
Tables with auto-increment columns need to be written using partial updates,
and partial updates require the auto-increment column to be nullable.
Alternatively, could we set a default value for the auto-increment column
instead?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]