mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-09 17:14:47 +00:00
modify test
This commit is contained in:
parent
f8b6025e07
commit
02e129f0d1
@ -118,7 +118,7 @@ TableJoin::TableJoin(const Settings & settings, VolumePtr tmp_volume_, Temporary
|
||||
, output_by_rowlist_perkey_rows_threshold(settings.join_output_by_rowlist_perkey_rows_threshold)
|
||||
, sort_right_perkey_rows_threshold(settings.join_to_sort_perkey_rows_threshold)
|
||||
, sort_right_table_rows_threshold(settings.join_to_sort_table_rows_threshold)
|
||||
, allow_join_sorting(settings.allow_experimental_inner_join_right_table_sorting)
|
||||
, allow_join_sorting(settings.allow_experimental_join_right_table_sorting)
|
||||
, max_memory_usage(settings.max_memory_usage)
|
||||
, tmp_volume(tmp_volume_)
|
||||
, tmp_data(tmp_data_)
|
||||
|
@ -7,8 +7,8 @@ CREATE TABLE test_right (a Int64, b String, c LowCardinality(String)) ENGINE = M
|
||||
INSERT INTO test_left SELECT number % 10000, number % 10000, number % 10000 FROM numbers(100000);
|
||||
INSERT INTO test_right SELECT number % 10 , number % 10, number % 10 FROM numbers(10000);
|
||||
|
||||
SELECT MAX(test_right.a) FROM test_left INNER JOIN test_right on test_left.b = test_right.b SETTINGS allow_experimental_inner_join_right_table_sorting=true;
|
||||
SELECT MAX(test_right.a) FROM test_left LEFT JOIN test_right on test_left.b = test_right.b SETTINGS allow_experimental_inner_join_right_table_sorting=true;
|
||||
SELECT MAX(test_right.a) FROM test_left INNER JOIN test_right on test_left.b = test_right.b SETTINGS allow_experimental_join_right_table_sorting=true;
|
||||
SELECT MAX(test_right.a) FROM test_left LEFT JOIN test_right on test_left.b = test_right.b SETTINGS allow_experimental_join_right_table_sorting=true;
|
||||
|
||||
drop table test_left;
|
||||
drop table test_right;
|
||||
|
Loading…
Reference in New Issue
Block a user