Skip to content

Commit

Permalink
update e2e test
Browse files Browse the repository at this point in the history
Signed-off-by: Runji Wang <[email protected]>
  • Loading branch information
wangrunji0408 committed Feb 19, 2024
1 parent 40aa7b2 commit c9cccb2
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 42 deletions.
68 changes: 34 additions & 34 deletions e2e_test/ddl/show.slt
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@ comment on column public.t3._row_id is 'consectetur adipiscing elit';
query TTTT
describe t3;
----
v1 integer false turpis vehicula
v2 integer false Lorem ipsum dolor sit amet
v3 integer false NULL
_row_id serial true consectetur adipiscing elit
v1 integer f turpis vehicula
v2 integer f Lorem ipsum dolor sit amet
v3 integer f NULL
_row_id serial t consectetur adipiscing elit
primary key _row_id NULL NULL
distribution key _row_id NULL NULL
table description t3 NULL volutpat vitae

query TTT
show columns from t3;
----
v1 integer false turpis vehicula
v2 integer false Lorem ipsum dolor sit amet
v3 integer false NULL
_row_id serial true consectetur adipiscing elit
v1 integer f turpis vehicula
v2 integer f Lorem ipsum dolor sit amet
v3 integer f NULL
_row_id serial t consectetur adipiscing elit

statement ok
create index idx1 on t3 (v1,v2);
Expand All @@ -61,10 +61,10 @@ comment on column t3._row_id is NULL;
query TTTT
describe t3;
----
v1 integer false Nemo enim ipsam
v2 integer false NULL
v3 integer false NULL
_row_id serial true NULL
v1 integer f Nemo enim ipsam
v2 integer f NULL
v3 integer f NULL
_row_id serial t NULL
primary key _row_id NULL NULL
distribution key _row_id NULL NULL
idx1 index(v1 ASC, v2 ASC) include(v3) distributed by(v1) NULL NULL
Expand Down Expand Up @@ -172,20 +172,20 @@ CREATE SINK sink3 AS select * from t3 WITH (
query TTTT
describe sink3;
----
v1 integer false NULL
v2 integer false NULL
v3 integer false NULL
t3._row_id serial true NULL
v1 integer f NULL
v2 integer f NULL
v3 integer f NULL
t3._row_id serial t NULL
distribution key t3._row_id NULL NULL
table description sink3 NULL NULL

query TTTT
show columns from sink3;
----
v1 integer false NULL
v2 integer false NULL
v3 integer false NULL
t3._row_id serial true NULL
v1 integer f NULL
v2 integer f NULL
v3 integer f NULL
t3._row_id serial t NULL

statement ok
drop sink sink3;
Expand All @@ -196,22 +196,22 @@ drop table t3;
query TTTT
describe pg_matviews;
----
schemaname character varying false NULL
matviewname character varying false NULL
matviewowner integer false NULL
definition character varying false NULL
matviewid integer false NULL
matviewtimezone character varying false NULL
matviewgraph character varying false NULL
schemaname character varying f NULL
matviewname character varying f NULL
matviewowner integer f NULL
definition character varying f NULL
matviewid integer f NULL
matviewtimezone character varying f NULL
matviewgraph character varying f NULL
table description pg_matviews NULL NULL

query TTTT
show columns from pg_catalog.pg_matviews;
----
schemaname character varying false NULL
matviewname character varying false NULL
matviewowner integer false NULL
definition character varying false NULL
matviewid integer false NULL
matviewtimezone character varying false NULL
matviewgraph character varying false NULL
schemaname character varying f NULL
matviewname character varying f NULL
matviewowner integer f NULL
definition character varying f NULL
matviewid integer f NULL
matviewtimezone character varying f NULL
matviewgraph character varying f NULL
16 changes: 8 additions & 8 deletions e2e_test/extended_mode/basic.slt
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ create table t3 (v1 int, v2 int, v3 int);
query TTTT
describe t3;
----
v1 integer false NULL
v2 integer false NULL
v3 integer false NULL
_row_id serial true NULL
v1 integer f NULL
v2 integer f NULL
v3 integer f NULL
_row_id serial t NULL
primary key _row_id NULL NULL
distribution key _row_id NULL NULL
table description t3 NULL NULL

query TTT
show columns from t3;
----
v1 integer false NULL
v2 integer false NULL
v3 integer false NULL
_row_id serial true NULL
v1 integer f NULL
v2 integer f NULL
v3 integer f NULL
_row_id serial t NULL

statement ok
drop table t3;
Expand Down

0 comments on commit c9cccb2

Please sign in to comment.