In AWS Redshift, when attempting to add an IDENTITY column to an existing table using the command
ALTER TABLE table_name ADD COLUMN id bigint IDENTITY(1,1);
I get the following error
ERROR: ALTER TABLE ADD COLUMN does not support columns with type IDENTITY
Which obviously implies that this simply isn't allowed in Redshift. Will I need to drop and recreate the table? Or is there some workaround solution to get this done in Redshift?