yuzelin commented on code in PR #965:
URL: https://github.com/apache/incubator-paimon/pull/965#discussion_r1176377739
##########
docs/content/how-to/altering-tables.md:
##########
@@ -195,6 +231,16 @@ The following SQL sets column `coupon_info` to be nullable.
{{< tabs "change-nullability-example" >}}
+{{< tab "Flink" >}}
+
+```sql
+CREATE TABLE T (a STRING PRIMARY KEY NOT ENFORCED, b FLOAT NOT NULL);
+ALTER TABLE T MODIFY b FLOAT;
+```
Review Comment:
Ok, seems flink only support change `not null` to `nullable`.
I have some thought about this. If the column is nullable before, we can
insert null value. Then if we change it to not null, the previous null value is
conflict to the `not null` definition. So I think flink's behavior is
reasonable.
--
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]