Merge pull request #53283 from ClickHouse/fix-00906_low_cardinality_cache

Inhibit randomization in `00906_low_cardinality_cache`
This commit is contained in:
Alexey Milovidov 2023-08-12 03:01:43 +03:00 committed by GitHub
commit 62b3485cd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) have_long_running_queries = prepare_for_hung_check(args.drop_databases)
except Exception as ex: except Exception as ex:
have_long_running_queries = True 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") logging.info("Checking if some queries hung")
cmd = " ".join( cmd = " ".join(
[ [

View File

@ -1,5 +1,5 @@
drop table if exists lc_00906; 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); insert into lc_00906 select '0123456789' from numbers(100000000);
select count(), b from lc_00906 group by b; select count(), b from lc_00906 group by b;
drop table if exists lc_00906; drop table if exists lc_00906;