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.

117 lines
4.3 KiB
Plaintext
Raw Normal View History

2023-08-03 15:55:15 +00:00
Expression ((Project names + (Projection + DROP unused columns after JOIN)))
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
INPUT : 2 -> __table2.value_1 String : 2
INPUT : 3 -> __table2.id UInt64 : 3
ALIAS __table1.id :: 0 -> id UInt64 : 4
ALIAS __table1.value_1 :: 1 -> value_1 String : 0
ALIAS __table2.value_1 :: 2 -> rhs.value_1 String : 1
ALIAS __table2.id :: 3 -> rhs.id UInt64 : 2
2023-08-03 15:55:15 +00:00
Positions: 4 0 2 1
Join (JOIN FillRightFirst)
Header: __table1.id UInt64
__table1.value_1 String
__table2.value_1 String
__table2.id UInt64
2023-08-07 08:06:25 +00:00
Type: INNER
2023-08-03 15:55:15 +00:00
Strictness: ALL
2023-08-07 08:06:25 +00:00
Algorithm: HashJoin
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
--
Expression ((Project names + (Projection + DROP unused columns after JOIN)))
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
INPUT :: 2 -> __table1.value_2 UInt64 : 2
INPUT : 3 -> __table2.value_1 String : 3
INPUT :: 4 -> __table2.value_2 UInt64 : 4
INPUT : 5 -> __table2.id UInt64 : 5
ALIAS __table1.id :: 0 -> id UInt64 : 6
ALIAS __table1.value_1 :: 1 -> value_1 String : 0
ALIAS __table2.value_1 :: 3 -> rhs.value_1 String : 1
ALIAS __table2.id :: 5 -> rhs.id UInt64 : 3
2023-08-03 15:55:15 +00:00
Positions: 6 0 3 1
Join (JOIN FillRightFirst)
Header: __table1.id UInt64
__table1.value_1 String
__table1.value_2 UInt64
__table2.value_1 String
__table2.value_2 UInt64
__table2.id UInt64
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