mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Fix tests
This commit is contained in:
parent
a10c2674fe
commit
07da0c99b8
@ -1,15 +0,0 @@
|
||||
set allow_experimental_json_type = 1;
|
||||
|
||||
drop table if exists test;
|
||||
create table test (s String) engine=MergeTree order by tuple();
|
||||
alter table test modify column s JSON; -- { serverError BAD_ARGUMENTS }
|
||||
drop table test;
|
||||
|
||||
create table test (s Array(String)) engine=MergeTree order by tuple();
|
||||
alter table test modify column s Array(JSON); -- { serverError BAD_ARGUMENTS }
|
||||
drop table test;
|
||||
|
||||
create table test (s Tuple(String, String)) engine=MergeTree order by tuple();
|
||||
alter table test modify column s Tuple(JSON, String); -- { serverError BAD_ARGUMENTS }
|
||||
drop table test;
|
||||
|
@ -7,8 +7,8 @@ drop named collection if exists json_alter_fuzzer;
|
||||
|
||||
create table test (json String) engine=MergeTree order by tuple();
|
||||
create named collection json_alter_fuzzer AS json_str='{}';
|
||||
insert into test select * from fuzzJSON(json_alter_fuzzer, reuse_output=true, max_output_length=128) limit 200000;
|
||||
alter table test modify column json JSON settings mutations_sync=1;
|
||||
insert into test select * from fuzzJSON(json_alter_fuzzer, reuse_output=true, max_output_length=64) limit 200000;
|
||||
alter table test modify column json JSON(max_dynamic_paths=100) settings mutations_sync=1;
|
||||
select json from test format Null;
|
||||
optimize table test final;
|
||||
select json from test format Null;
|
||||
|
Loading…
Reference in New Issue
Block a user