ClickHouse/tests/queries/0_stateless/02835_join_step_explain.reference
2023-08-07 11:06:25 +03:00

117 lines
3.9 KiB
Plaintext

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 -> id_0 UInt64 : 0
INPUT : 1 -> value_1_1 String : 1
INPUT : 2 -> value_1_3 String : 2
INPUT : 3 -> id_2 UInt64 : 3
ALIAS id_0 :: 0 -> id UInt64 : 4
ALIAS value_1_1 :: 1 -> value_1 String : 0
ALIAS value_1_3 :: 2 -> rhs.value_1 String : 1
ALIAS id_2 :: 3 -> rhs.id UInt64 : 2
Positions: 4 0 2 1
Join (JOIN FillRightFirst)
Header: id_0 UInt64
value_1_1 String
value_1_3 String
id_2 UInt64
Type: INNER
Strictness: ALL
Algorithm: HashJoin
Clauses: [(id_0) = (id_2)]
Expression ((JOIN actions + Change column names to column identifiers))
Header: id_0 UInt64
value_1_1 String
Actions: INPUT : 0 -> id UInt64 : 0
INPUT : 1 -> value_1 String : 1
ALIAS id :: 0 -> id_0 UInt64 : 2
ALIAS value_1 :: 1 -> value_1_1 String : 0
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: id_2 UInt64
value_1_3 String
Actions: INPUT : 0 -> id UInt64 : 0
INPUT : 1 -> value_1 String : 1
ALIAS id :: 0 -> id_2 UInt64 : 2
ALIAS value_1 :: 1 -> value_1_3 String : 0
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 -> id_0 UInt64 : 0
INPUT : 1 -> value_1_1 String : 1
INPUT :: 2 -> value_2_4 UInt64 : 2
INPUT : 3 -> value_1_3 String : 3
INPUT :: 4 -> value_2_5 UInt64 : 4
INPUT : 5 -> id_2 UInt64 : 5
ALIAS id_0 :: 0 -> id UInt64 : 6
ALIAS value_1_1 :: 1 -> value_1 String : 0
ALIAS value_1_3 :: 3 -> rhs.value_1 String : 1
ALIAS id_2 :: 5 -> rhs.id UInt64 : 3
Positions: 6 0 3 1
Join (JOIN FillRightFirst)
Header: id_0 UInt64
value_1_1 String
value_2_4 UInt64
value_1_3 String
value_2_5 UInt64
id_2 UInt64
Type: INNER
Strictness: ASOF
Algorithm: HashJoin
ASOF inequality: LESS
Clauses: [(id_0, value_2_4) = (id_2, value_2_5)]
Expression ((JOIN actions + Change column names to column identifiers))
Header: id_0 UInt64
value_1_1 String
value_2_4 UInt64
Actions: INPUT : 0 -> id UInt64 : 0
INPUT : 1 -> value_1 String : 1
INPUT : 2 -> value_2 UInt64 : 2
ALIAS id :: 0 -> id_0 UInt64 : 3
ALIAS value_1 :: 1 -> value_1_1 String : 0
ALIAS value_2 :: 2 -> value_2_4 UInt64 : 1
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: id_2 UInt64
value_1_3 String
value_2_5 UInt64
Actions: INPUT : 0 -> id UInt64 : 0
INPUT : 1 -> value_1 String : 1
INPUT : 2 -> value_2 UInt64 : 2
ALIAS id :: 0 -> id_2 UInt64 : 3
ALIAS value_1 :: 1 -> value_1_3 String : 0
ALIAS value_2 :: 2 -> value_2_5 UInt64 : 1
Positions: 3 0 1
ReadFromMergeTree (default.test_table_2)
Header: id UInt64
value_1 String
value_2 UInt64
ReadType: Default
Parts: 1
Granules: 1