mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 05:52:05 +00:00
117 lines
4.3 KiB
Plaintext
117 lines
4.3 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 -> __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
|
|
Positions: 4 0 2 1
|
|
Join (JOIN FillRightFirst)
|
|
Header: __table1.id UInt64
|
|
__table1.value_1 String
|
|
__table2.value_1 String
|
|
__table2.id UInt64
|
|
Type: INNER
|
|
Strictness: ALL
|
|
Algorithm: HashJoin
|
|
Clauses: [(__table1.id) = (__table2.id)]
|
|
Expression ((JOIN actions + Change column names to column identifiers))
|
|
Header: __table1.id UInt64
|
|
__table1.value_1 String
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
Type: INNER
|
|
Strictness: ASOF
|
|
Algorithm: HashJoin
|
|
ASOF inequality: LESS
|
|
Clauses: [(__table1.id, __table1.value_2) = (__table2.id, __table2.value_2)]
|
|
Expression ((JOIN actions + Change column names to column identifiers))
|
|
Header: __table1.id UInt64
|
|
__table1.value_1 String
|
|
__table1.value_2 UInt64
|
|
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
|
|
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
|
|
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
|
|
Positions: 3 0 1
|
|
ReadFromMergeTree (default.test_table_2)
|
|
Header: id UInt64
|
|
value_1 String
|
|
value_2 UInt64
|
|
ReadType: Default
|
|
Parts: 1
|
|
Granules: 1
|