Skip to content

Commit b0081a8

Browse files
committed
add if exists clause to drop temporary table in array_lc_tests
1 parent db75ab5 commit b0081a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ut/array_of_low_cardinality_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ TEST(ArrayOfLowCardinality, InsertAndQuery) {
8080
Block block;
8181
block.AppendColumn("arr", column);
8282

83-
client.Execute("DROP TEMPORARY TABLE array_lc");
83+
client.Execute("DROP TEMPORARY TABLE IF EXISTS array_lc");
8484
client.Execute("CREATE TEMPORARY TABLE IF NOT EXISTS array_lc (arr Array(LowCardinality(String))) ENGINE = Memory");
8585
client.Insert("array_lc", block);
8686

0 commit comments

Comments
 (0)