Inhibit randomization in 00906_low_cardinality_cache

This commit is contained in:
Alexey Milovidov 2023-08-10 20:51:03 +02:00
parent c3c4125328
commit 3acb10b8bc
2 changed files with 2 additions and 2 deletions

View File

@ -302,7 +302,7 @@ if __name__ == "__main__":
have_long_running_queries = prepare_for_hung_check(args.drop_databases)
except Exception as ex:
have_long_running_queries = True
logging.error("Failed to prepare for hung check %s", str(ex))
logging.error("Failed to prepare for hung check: %s", str(ex))
logging.info("Checking if some queries hung")
cmd = " ".join(
[

View File

@ -1,5 +1,5 @@
drop table if exists lc_00906;
create table lc_00906 (b LowCardinality(String)) engine=MergeTree order by b;
create table lc_00906 (b LowCardinality(String)) engine=MergeTree order by b SETTINGS index_granularity = 8192, index_granularity_bytes = '10Mi';
insert into lc_00906 select '0123456789' from numbers(100000000);
select count(), b from lc_00906 group by b;
drop table if exists lc_00906;