Skip to content

Commit 995ca73

Browse files
fix test for non-atomic db
1 parent e75d938 commit 995ca73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/queries/0_stateless/02878_use_structure_from_insertion_table_with_explicit_insert_columns.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ rm $CLICKHOUSE_TEST_UNIQUE_NAME.native
1818

1919
$CLICKHOUSE_LOCAL -q "select 'world' as y, 42 as x format Values" > $CLICKHOUSE_TEST_UNIQUE_NAME.values
2020
$CLICKHOUSE_CLIENT -q "
21-
create or replace table test_infile (val UInt64, key String) engine=Memory;
21+
drop table if exists test_infile;
22+
create table test_infile (val UInt64, key String) engine=Memory;
2223
insert into test_infile from infile '$CLICKHOUSE_TEST_UNIQUE_NAME.values' FORMAT Values; -- { clientError CANNOT_PARSE_TEXT }
2324
insert into test_infile (key, val) from infile '$CLICKHOUSE_TEST_UNIQUE_NAME.values' FORMAT Values;
2425
insert into test_infile (* EXCEPT 'val', * EXCEPT 'key') from infile '$CLICKHOUSE_TEST_UNIQUE_NAME.values' FORMAT Values;

0 commit comments

Comments
 (0)