ClickHouse/tests/queries/0_stateless/03174_merge_join_bug.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
374 B
MySQL
Raw Normal View History

2024-06-24 19:16:19 +00:00
-- Tags: no-random-settings
2024-07-12 12:49:26 +00:00
SET enable_analyzer=1, join_algorithm = 'full_sorting_merge';
2024-06-24 19:16:19 +00:00
CREATE TABLE xxxx_yyy (key UInt32, key_b ALIAS key) ENGINE=MergeTree() ORDER BY key SETTINGS ratio_of_defaults_for_sparse_serialization=0.0;
INSERT INTO xxxx_yyy SELECT number FROM numbers(10);
SELECT *
FROM xxxx_yyy AS a
2024-06-25 11:46:19 +00:00
INNER JOIN xxxx_yyy AS b ON a.key = b.key_b
ORDER BY a.key;