From 79a3800679a2113d7e224588ac802d138bef27de Mon Sep 17 00:00:00 2001 From: feng lv Date: Sun, 25 Apr 2021 07:58:40 +0000 Subject: [PATCH] fix test --- tests/queries/0_stateless/01821_table_comment.reference | 6 +++--- tests/queries/0_stateless/01821_table_comment.sql | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/queries/0_stateless/01821_table_comment.reference b/tests/queries/0_stateless/01821_table_comment.reference index 8365f394cfb..7cdd5372102 100644 --- a/tests/queries/0_stateless/01821_table_comment.reference +++ b/tests/queries/0_stateless/01821_table_comment.reference @@ -1,3 +1,3 @@ -default t1 this is a temtorary table -default t2 this is a MergeTree table -default t3 this is a Log table +t1 this is a temtorary table +t2 this is a MergeTree table +t3 this is a Log table diff --git a/tests/queries/0_stateless/01821_table_comment.sql b/tests/queries/0_stateless/01821_table_comment.sql index 4b6bd4a5998..fe058d23997 100644 --- a/tests/queries/0_stateless/01821_table_comment.sql +++ b/tests/queries/0_stateless/01821_table_comment.sql @@ -25,11 +25,10 @@ ENGINE = Log COMMENT 'this is a Log table'; SELECT - database, name, comment FROM system.tables -WHERE name IN ('t1', 't2', 't3'); +WHERE name IN ('t1', 't2', 't3') order by name; DROP TABLE t1; DROP TABLE t2;