From 24ce152de40d45cc3e3d2efa219d44a49f31403d Mon Sep 17 00:00:00 2001 From: August Date: Fri, 14 Jun 2024 18:46:01 +0800 Subject: [PATCH] add tests --- e2e_test/batch/catalog/pg_indexes.slt.part | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e2e_test/batch/catalog/pg_indexes.slt.part b/e2e_test/batch/catalog/pg_indexes.slt.part index 634739406e91..c8e8ef626703 100644 --- a/e2e_test/batch/catalog/pg_indexes.slt.part +++ b/e2e_test/batch/catalog/pg_indexes.slt.part @@ -1,5 +1,5 @@ statement ok -create table t(a int, b int); +create table t(a int primary key, b int); statement ok create index idx1 on t(a); @@ -12,6 +12,7 @@ select schemaname, tablename, indexname, tablespace, indexdef from pg_catalog.pg ---- public t idx1 NULL CREATE INDEX idx1 ON t(a) public t idx2 NULL CREATE INDEX idx2 ON t(b) +public t t_pkey NULL (empty) statement ok drop table t;