Re: support virtual generated column not null constraint

2025-03-07 Thread Navneet Kumar
> > This scenario fails > 1. CREATE TABLE person ( > id INT GENERATED BY DEFAULT AS IDENTITY, > first_name VARCHAR(50) NOT NULL, > last_name VARCHAR(50) NOT NULL > ); > > 2. INSERT INTO person (first_name, last_name) > VALUES ('first', 'last'); > > 3. ALTER TABLE person > ADD COLUMN ful

Re: support virtual generated column not null constraint

2025-03-07 Thread Navneet Kumar
Hi I encountered an issue when trying to add a virtual column to an existing table using the ALTER command. The operation fails even though the existing data ensures that the virtual column's value will never be NULL. However, if I define the same virtual column while creating the table and then i