Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions pkg/sql/logictest/testdata/logic_test/alter_table
Original file line number Diff line number Diff line change
Expand Up @@ -4382,6 +4382,27 @@ ALTER TABLE t_alter_identity ALTER COLUMN z SET START WITH 5;

# Verify sequence options are implemented on the identity

statement error sequence option "AS" not supported here
ALTER TABLE t_alter_identity ALTER COLUMN a SET AS INT4;

statement error pq: unimplemented: CYCLE option is not supported
ALTER TABLE t_alter_identity ALTER COLUMN a SET CYCLE;

statement ok
ALTER TABLE t_alter_identity ALTER COLUMN a SET NO CYCLE;

statement error sequence option "OWNED BY" not supported here
ALTER TABLE t_alter_identity ALTER COLUMN a SET OWNED BY NONE;

statement ok
ALTER TABLE t_alter_identity ALTER COLUMN a SET PER NODE CACHE 5;

statement ok
ALTER TABLE t_alter_identity ALTER COLUMN a SET PER SESSION CACHE 5;

statement error sequence option "VIRTUAL" not supported here
ALTER TABLE t_alter_identity ALTER COLUMN a SET VIRTUAL;

statement ok
INSERT INTO t_alter_identity DEFAULT VALUES;

Expand Down
Loading