ClickHouse/tests/queries/0_stateless/02835_join_step_explain.reference

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

113 lines
4.0 KiB
Plaintext
Raw Normal View History

2024-11-26 12:59:38 +00:00
Expression ((Project names + Projection))
2023-08-03 15:55:15 +00:00
Header: id UInt64
value_1 String
rhs.id UInt64
rhs.value_1 String
Actions: INPUT : 0 -> __table1.id UInt64 : 0
INPUT : 1 -> __table1.value_1 String : 1
2024-11-26 12:59:38 +00:00
INPUT : 2 -> __table2.id UInt64 : 2
INPUT : 3 -> __table2.value_1 String : 3
ALIAS __table1.id :: 0 -> id UInt64 : 4
ALIAS __table1.value_1 :: 1 -> value_1 String : 0
2024-11-26 12:59:38 +00:00
ALIAS __table2.id :: 2 -> rhs.id UInt64 : 1
ALIAS __table2.value_1 :: 3 -> rhs.value_1 String : 2
Positions: 4 0 1 2
2023-08-03 15:55:15 +00:00
Join (JOIN FillRightFirst)
Header: __table1.id UInt64
__table1.value_1 String
2024-11-25 18:20:14 +00:00
__table2.id UInt64
2024-11-26 12:59:38 +00:00
__table2.value_1 String
2023-08-07 08:06:25 +00:00
Type: INNER
2023-08-03 15:55:15 +00:00
Strictness: ALL
2024-10-17 21:23:24 +00:00
Algorithm: ConcurrentHashJoin
Clauses: [(__table1.id) = (__table2.id)]
2023-08-03 15:55:15 +00:00
Expression ((JOIN actions + Change column names to column identifiers))
Header: __table1.id UInt64
__table1.value_1 String
2023-08-03 15:55:15 +00:00
Actions: INPUT : 0 -> id UInt64 : 0
INPUT : 1 -> value_1 String : 1
ALIAS id :: 0 -> __table1.id UInt64 : 2
ALIAS value_1 :: 1 -> __table1.value_1 String : 0
2023-08-03 15:55:15 +00:00
Positions: 2 0
ReadFromMergeTree (default.test_table_1)
Header: id UInt64
value_1 String
ReadType: Default
Parts: 1
Granules: 1
Expression ((JOIN actions + Change column names to column identifiers))
Header: __table2.id UInt64
__table2.value_1 String
2023-08-03 15:55:15 +00:00
Actions: INPUT : 0 -> id UInt64 : 0
INPUT : 1 -> value_1 String : 1
ALIAS id :: 0 -> __table2.id UInt64 : 2
ALIAS value_1 :: 1 -> __table2.value_1 String : 0
2023-08-03 15:55:15 +00:00
Positions: 2 0
ReadFromMergeTree (default.test_table_2)
Header: id UInt64
value_1 String
ReadType: Default
Parts: 1
Granules: 1
--
2024-11-26 12:59:38 +00:00
Expression ((Project names + Projection))
2023-08-03 15:55:15 +00:00
Header: id UInt64
value_1 String
rhs.id UInt64
rhs.value_1 String
Actions: INPUT : 0 -> __table1.id UInt64 : 0
INPUT : 1 -> __table1.value_1 String : 1
2024-11-26 12:59:38 +00:00
INPUT : 2 -> __table2.id UInt64 : 2
2024-10-07 14:06:08 +00:00
INPUT : 3 -> __table2.value_1 String : 3
2024-11-26 12:59:38 +00:00
ALIAS __table1.id :: 0 -> id UInt64 : 4
ALIAS __table1.value_1 :: 1 -> value_1 String : 0
2024-11-26 12:59:38 +00:00
ALIAS __table2.id :: 2 -> rhs.id UInt64 : 1
ALIAS __table2.value_1 :: 3 -> rhs.value_1 String : 2
Positions: 4 0 1 2
2023-08-03 15:55:15 +00:00
Join (JOIN FillRightFirst)
Header: __table1.id UInt64
__table1.value_1 String
2024-11-25 18:20:14 +00:00
__table2.id UInt64
2024-11-26 12:59:38 +00:00
__table2.value_1 String
2023-08-07 08:06:25 +00:00
Type: INNER
2023-08-03 15:55:15 +00:00
Strictness: ASOF
2023-08-07 08:06:25 +00:00
Algorithm: HashJoin
2023-08-03 15:55:15 +00:00
ASOF inequality: LESS
Clauses: [(__table1.id, __table1.value_2) = (__table2.id, __table2.value_2)]
2023-08-03 15:55:15 +00:00
Expression ((JOIN actions + Change column names to column identifiers))
Header: __table1.id UInt64
__table1.value_1 String
__table1.value_2 UInt64
2023-08-03 15:55:15 +00:00
Actions: INPUT : 0 -> id UInt64 : 0
INPUT : 1 -> value_1 String : 1
INPUT : 2 -> value_2 UInt64 : 2
ALIAS id :: 0 -> __table1.id UInt64 : 3
ALIAS value_1 :: 1 -> __table1.value_1 String : 0
ALIAS value_2 :: 2 -> __table1.value_2 UInt64 : 1
2023-08-03 15:55:15 +00:00
Positions: 3 0 1
ReadFromMergeTree (default.test_table_1)
Header: id UInt64
value_1 String
value_2 UInt64
ReadType: Default
Parts: 1
Granules: 1
Expression ((JOIN actions + Change column names to column identifiers))
Header: __table2.id UInt64
__table2.value_1 String
__table2.value_2 UInt64
2023-08-03 15:55:15 +00:00
Actions: INPUT : 0 -> id UInt64 : 0
INPUT : 1 -> value_1 String : 1
INPUT : 2 -> value_2 UInt64 : 2
ALIAS id :: 0 -> __table2.id UInt64 : 3
ALIAS value_1 :: 1 -> __table2.value_1 String : 0
ALIAS value_2 :: 2 -> __table2.value_2 UInt64 : 1
2023-08-03 15:55:15 +00:00
Positions: 3 0 1
ReadFromMergeTree (default.test_table_2)
Header: id UInt64
value_1 String
value_2 UInt64
ReadType: Default
Parts: 1
Granules: 1