From fc5406d9e2ad2fc4806afc77aa7e5a9fb54e4155 Mon Sep 17 00:00:00 2001 From: Robert Schulze Date: Wed, 29 Mar 2023 09:39:58 +0000 Subject: [PATCH] Fix 25402_show_columns (hopefully) --- tests/queries/0_stateless/25402_show_columns.sql | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/queries/0_stateless/25402_show_columns.sql b/tests/queries/0_stateless/25402_show_columns.sql index 6cf2a599f2c..28ac54bd193 100644 --- a/tests/queries/0_stateless/25402_show_columns.sql +++ b/tests/queries/0_stateless/25402_show_columns.sql @@ -3,7 +3,8 @@ -- Create a test table and verify that the output of SHOW COLUMNS is sane. -- The matching of actual/expected results relies on the fact that the output of SHOW COLUMNS is sorted. -CREATE OR REPLACE TABLE tab +DROP TABLE IF EXISTS tab; +CREATE TABLE tab ( `uint64` UInt64, `int32` Nullable(Int32) COMMENT 'example comment', @@ -56,7 +57,8 @@ SELECT '---'; DROP DATABASE IF EXISTS database_123456789abcde; CREATE DATABASE database_123456789abcde; -- pseudo-random database name -CREATE OR REPLACE TABLE database_123456789abcde.tab +DROP TABLE IF EXISTS database_123456789abcde.tab; +CREATE TABLE database_123456789abcde.tab ( `uint64` UInt64, `int32` Int32,