Open apstndb opened 2 months ago
This incompatibility is detected by #90.
It is not explicitly written in DDL reference, but it is supported with/without NOT NULL. https://cloud.google.com/spanner/docs/generated-column/how-to#modify-generated-column
NOT NULL
ALTER TABLE T ALTER COLUMN expr INT64 NOT NULL AS (1) STORED;
syntax error:testdata/generated_column.test:6:48: expected token: <eof>, but: AS 6: ALTER TABLE T ALTER COLUMN expr INT64 NOT NULL AS (1) STORED; ^~
This incompatibility is detected by #90.
Spec
It is not explicitly written in DDL reference, but it is supported with/without
NOT NULL
. https://cloud.google.com/spanner/docs/generated-column/how-to#modify-generated-columnReproducing input
Current error