mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
7 lines
528 B
SQL
7 lines
528 B
SQL
CREATE TABLE 03006_buffer_overflow_l (`a` String, `b` Tuple(String, String)) ENGINE = Memory;
|
|
INSERT INTO 03006_buffer_overflow_l SELECT * FROM generateRandom() limit 1000;
|
|
CREATE TABLE 03006_buffer_overflow_r (`a` LowCardinality(Nullable(String)), `c` Tuple(LowCardinality(String), LowCardinality(String))) ENGINE = Memory;
|
|
INSERT INTO 03006_buffer_overflow_r SELECT * FROM generateRandom() limit 1000;
|
|
|
|
SELECT a FROM 03006_buffer_overflow_l RIGHT JOIN 03006_buffer_overflow_r USING (a) ORDER BY a ASC NULLS FIRST FORMAT Null;
|