mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
Fixing some tests.
This commit is contained in:
parent
638e94fb39
commit
e7d19bef2a
@ -134,6 +134,9 @@ void optimizeFilterByJoinSet(QueryPlan::Node & node)
|
||||
if (table_join.kind() != JoinKind::Inner && table_join.kind() != JoinKind::Right)
|
||||
return;
|
||||
|
||||
if (table_join.strictness() != JoinStrictness::Any && table_join.strictness() != JoinStrictness::All && table_join.strictness() != JoinStrictness::Semi)
|
||||
return;
|
||||
|
||||
const auto & clauses = table_join.getClauses();
|
||||
if (clauses.empty())
|
||||
return;
|
||||
|
@ -21,12 +21,6 @@ Positions: 4 0 2 1
|
||||
Strictness: ALL
|
||||
Algorithm: ConcurrentHashJoin
|
||||
Clauses: [(__table1.id) = (__table2.id)]
|
||||
Dynamic Filter
|
||||
Actions: INPUT : 0 -> id UInt64 : 0
|
||||
COLUMN Const(Set) -> Set : 1
|
||||
ALIAS id :: 0 -> __table1.id UInt64 : 2
|
||||
FUNCTION in(__table1.id :: 2, :: 1) -> in(__table1.id, ) UInt8 : 0
|
||||
Positions: 0
|
||||
Expression ((JOIN actions + Change column names to column identifiers))
|
||||
Header: __table1.id UInt64
|
||||
__table1.value_1 String
|
||||
@ -84,15 +78,6 @@ Positions: 6 0 3 1
|
||||
Algorithm: HashJoin
|
||||
ASOF inequality: LESS
|
||||
Clauses: [(__table1.id, __table1.value_2) = (__table2.id, __table2.value_2)]
|
||||
Dynamic Filter
|
||||
Actions: INPUT : 0 -> id UInt64 : 0
|
||||
INPUT : 1 -> value_2 UInt64 : 1
|
||||
COLUMN Const(Set) -> Set : 2
|
||||
ALIAS id :: 0 -> __table1.id UInt64 : 3
|
||||
ALIAS value_2 :: 1 -> __table1.value_2 UInt64 : 0
|
||||
FUNCTION tuple(__table1.id :: 3, __table1.value_2 :: 0) -> tuple(__table1.id, __table1.value_2) Tuple(UInt64, UInt64) : 1
|
||||
FUNCTION in(tuple(__table1.id, __table1.value_2) :: 1, :: 2) -> in(tuple(__table1.id, __table1.value_2), ) UInt8 : 0
|
||||
Positions: 0
|
||||
Expression ((JOIN actions + Change column names to column identifiers))
|
||||
Header: __table1.id UInt64
|
||||
__table1.value_1 String
|
||||
|
@ -26,12 +26,6 @@ Positions: 4 2 0 1
|
||||
Strictness: ALL
|
||||
Algorithm: ConcurrentHashJoin
|
||||
Clauses: [(__table1.id) = (__table2.id)]
|
||||
Dynamic Filter
|
||||
Actions: INPUT : 0 -> id UInt64 : 0
|
||||
COLUMN Const(Set) -> Set : 1
|
||||
ALIAS id :: 0 -> __table1.id UInt64 : 2
|
||||
FUNCTION in(__table1.id :: 2, :: 1) -> in(__table1.id, ) UInt8 : 0
|
||||
Positions: 0
|
||||
Filter (( + (JOIN actions + Change column names to column identifiers)))
|
||||
Header: __table1.id UInt64
|
||||
__table1.value String
|
||||
@ -99,12 +93,6 @@ Positions: 4 2 0 1
|
||||
Strictness: ALL
|
||||
Algorithm: ConcurrentHashJoin
|
||||
Clauses: [(__table1.id) = (__table2.id)]
|
||||
Dynamic Filter
|
||||
Actions: INPUT : 0 -> id UInt64 : 0
|
||||
COLUMN Const(Set) -> Set : 1
|
||||
ALIAS id :: 0 -> __table1.id UInt64 : 2
|
||||
FUNCTION in(__table1.id :: 2, :: 1) -> in(__table1.id, ) UInt8 : 0
|
||||
Positions: 0
|
||||
Filter (( + (JOIN actions + Change column names to column identifiers)))
|
||||
Header: __table1.id UInt64
|
||||
__table1.value String
|
||||
@ -172,12 +160,6 @@ Positions: 4 2 0 1
|
||||
Strictness: ALL
|
||||
Algorithm: ConcurrentHashJoin
|
||||
Clauses: [(__table1.id) = (__table2.id)]
|
||||
Dynamic Filter
|
||||
Actions: INPUT : 0 -> id UInt64 : 0
|
||||
COLUMN Const(Set) -> Set : 1
|
||||
ALIAS id :: 0 -> __table1.id UInt64 : 2
|
||||
FUNCTION in(__table1.id :: 2, :: 1) -> in(__table1.id, ) UInt8 : 0
|
||||
Positions: 0
|
||||
Filter (( + (JOIN actions + Change column names to column identifiers)))
|
||||
Header: __table1.id UInt64
|
||||
__table1.value String
|
||||
|
@ -1,6 +1,7 @@
|
||||
SET enable_analyzer = 1;
|
||||
SET optimize_move_to_prewhere = 0;
|
||||
SET query_plan_convert_outer_join_to_inner_join = 0;
|
||||
SET merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability=0;
|
||||
|
||||
DROP TABLE IF EXISTS test_table_1;
|
||||
CREATE TABLE test_table_1
|
||||
|
Loading…
Reference in New Issue
Block a user