mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Merge pull request #53278 from ClickHouse/grace-hash-join-structure-mismatch
Add a test with Block structure mismatch in grace hash join.
This commit is contained in:
commit
7b6548157c
@ -0,0 +1,9 @@
|
||||
set allow_suspicious_low_cardinality_types = 1;
|
||||
CREATE TABLE t1__fuzz_17 (`a` LowCardinality(UInt8), `b` Nullable(UInt256)) ENGINE = Memory;
|
||||
CREATE TABLE t2__fuzz_0 (`c` UInt32, `d` String) ENGINE = Memory;
|
||||
|
||||
insert into t1__fuzz_17 select * from generateRandom() limit 1;
|
||||
insert into t2__fuzz_0 select * from generateRandom() limit 1;
|
||||
|
||||
set join_algorithm='grace_hash';
|
||||
SELECT * FROM t1__fuzz_17 INNER JOIN t2__fuzz_0 ON c = a WHERE a format Null;
|
Loading…
Reference in New Issue
Block a user