mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-07 23:12:34 +00:00
418 lines
12 KiB
Plaintext
418 lines
12 KiB
Plaintext
1 21
|
|
1 22
|
|
1 23
|
|
2 21
|
|
2 22
|
|
2 23
|
|
3 21
|
|
3 22
|
|
3 23
|
|
1 21
|
|
1 22
|
|
1 23
|
|
2 21
|
|
2 22
|
|
2 23
|
|
3 21
|
|
3 22
|
|
3 23
|
|
1 21
|
|
1 22
|
|
1 23
|
|
2 21
|
|
2 22
|
|
2 23
|
|
3 21
|
|
3 22
|
|
3 23
|
|
QUERY id: 0
|
|
PROJECTION COLUMNS
|
|
k UInt64
|
|
s UInt64
|
|
PROJECTION
|
|
LIST id: 1, nodes: 2
|
|
COLUMN id: 2, column_name: k, result_type: UInt64, source_id: 3
|
|
COLUMN id: 4, column_name: s, result_type: UInt64, source_id: 3
|
|
JOIN TREE
|
|
TABLE id: 3, table_name: default.bug
|
|
WHERE
|
|
FUNCTION id: 5, function_name: and, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 6, nodes: 2
|
|
FUNCTION id: 7, function_name: in, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 8, nodes: 2
|
|
COLUMN id: 9, column_name: k, result_type: UInt64, source_id: 3
|
|
CONSTANT id: 10, constant_value: Tuple_(UInt64_1, UInt64_2, UInt64_3), constant_value_type: Tuple(UInt8, UInt8, UInt8)
|
|
FUNCTION id: 11, function_name: in, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 12, nodes: 2
|
|
COLUMN id: 13, column_name: s, result_type: UInt64, source_id: 3
|
|
CONSTANT id: 14, constant_value: Tuple_(UInt64_21, UInt64_22, UInt64_23), constant_value_type: Tuple(UInt8, UInt8, UInt8)
|
|
SETTINGS allow_experimental_analyzer=1
|
|
1 21
|
|
1 22
|
|
1 23
|
|
2 21
|
|
2 22
|
|
2 23
|
|
3 21
|
|
3 22
|
|
3 23
|
|
1 21
|
|
1 22
|
|
1 23
|
|
2 21
|
|
2 22
|
|
2 23
|
|
3 21
|
|
3 22
|
|
3 23
|
|
QUERY id: 0
|
|
PROJECTION COLUMNS
|
|
k UInt64
|
|
s UInt64
|
|
PROJECTION
|
|
LIST id: 1, nodes: 2
|
|
COLUMN id: 2, column_name: k, result_type: UInt64, source_id: 3
|
|
COLUMN id: 4, column_name: s, result_type: UInt64, source_id: 3
|
|
JOIN TREE
|
|
QUERY id: 3, is_subquery: 1
|
|
PROJECTION COLUMNS
|
|
k UInt64
|
|
s UInt64
|
|
PROJECTION
|
|
LIST id: 5, nodes: 2
|
|
COLUMN id: 6, column_name: k, result_type: UInt64, source_id: 7
|
|
COLUMN id: 8, column_name: s, result_type: UInt64, source_id: 7
|
|
JOIN TREE
|
|
TABLE id: 7, table_name: default.bug
|
|
WHERE
|
|
FUNCTION id: 9, function_name: in, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 10, nodes: 2
|
|
COLUMN id: 11, column_name: k, result_type: UInt64, source_id: 7
|
|
CONSTANT id: 12, constant_value: Tuple_(UInt64_1, UInt64_2, UInt64_3), constant_value_type: Tuple(UInt8, UInt8, UInt8)
|
|
WHERE
|
|
FUNCTION id: 13, function_name: in, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 14, nodes: 2
|
|
COLUMN id: 15, column_name: s, result_type: UInt64, source_id: 3
|
|
CONSTANT id: 16, constant_value: Tuple_(UInt64_21, UInt64_22, UInt64_23), constant_value_type: Tuple(UInt8, UInt8, UInt8)
|
|
SETTINGS allow_experimental_analyzer=1
|
|
1 1 21 1 1 1
|
|
1 1 22 0 1 1
|
|
1 1 23 0 0 1
|
|
2 1 21 1 1 1
|
|
2 1 22 0 1 1
|
|
2 1 23 0 0 1
|
|
3 1 21 1 1 1
|
|
3 1 22 0 1 1
|
|
3 1 23 0 0 1
|
|
1 1 21 1 1 1
|
|
1 1 22 0 1 1
|
|
1 1 23 0 0 1
|
|
2 1 21 1 1 1
|
|
2 1 22 0 1 1
|
|
2 1 23 0 0 1
|
|
3 1 21 1 1 1
|
|
3 1 22 0 1 1
|
|
3 1 23 0 0 1
|
|
QUERY id: 0
|
|
PROJECTION COLUMNS
|
|
k UInt64
|
|
or(equals(k, 1), equals(k, 2), equals(k, 3)) UInt8
|
|
s UInt64
|
|
equals(s, 21) UInt8
|
|
or(equals(s, 21), equals(s, 22)) UInt8
|
|
or(equals(s, 21), equals(s, 22), equals(s, 23)) UInt8
|
|
PROJECTION
|
|
LIST id: 1, nodes: 6
|
|
COLUMN id: 2, column_name: k, result_type: UInt64, source_id: 3
|
|
FUNCTION id: 4, function_name: in, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 5, nodes: 2
|
|
COLUMN id: 2, column_name: k, result_type: UInt64, source_id: 3
|
|
CONSTANT id: 6, constant_value: Tuple_(UInt64_1, UInt64_2, UInt64_3), constant_value_type: Tuple(UInt8, UInt8, UInt8)
|
|
COLUMN id: 7, column_name: s, result_type: UInt64, source_id: 3
|
|
FUNCTION id: 8, function_name: equals, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 9, nodes: 2
|
|
COLUMN id: 7, column_name: s, result_type: UInt64, source_id: 3
|
|
CONSTANT id: 10, constant_value: UInt64_21, constant_value_type: UInt8
|
|
FUNCTION id: 11, function_name: in, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 12, nodes: 2
|
|
COLUMN id: 7, column_name: s, result_type: UInt64, source_id: 3
|
|
CONSTANT id: 13, constant_value: Tuple_(UInt64_21, UInt64_22), constant_value_type: Tuple(UInt8, UInt8)
|
|
FUNCTION id: 14, function_name: in, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 15, nodes: 2
|
|
COLUMN id: 7, column_name: s, result_type: UInt64, source_id: 3
|
|
CONSTANT id: 16, constant_value: Tuple_(UInt64_21, UInt64_22, UInt64_23), constant_value_type: Tuple(UInt8, UInt8, UInt8)
|
|
JOIN TREE
|
|
TABLE id: 3, table_name: default.bug
|
|
SETTINGS allow_experimental_analyzer=1
|
|
21 1
|
|
22 1
|
|
23 1
|
|
21 1
|
|
22 1
|
|
23 1
|
|
21 1
|
|
22 1
|
|
23 1
|
|
21 1
|
|
22 1
|
|
23 1
|
|
21 1
|
|
22 1
|
|
23 1
|
|
21 1
|
|
22 1
|
|
23 1
|
|
QUERY id: 0
|
|
PROJECTION COLUMNS
|
|
s UInt64
|
|
or(equals(s, 21), equals(s, 22), equals(s, 23)) UInt8
|
|
PROJECTION
|
|
LIST id: 1, nodes: 2
|
|
COLUMN id: 2, column_name: s, result_type: UInt64, source_id: 3
|
|
FUNCTION id: 4, function_name: in, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 5, nodes: 2
|
|
COLUMN id: 2, column_name: s, result_type: UInt64, source_id: 3
|
|
CONSTANT id: 6, constant_value: Tuple_(UInt64_21, UInt64_22, UInt64_23), constant_value_type: Tuple(UInt8, UInt8, UInt8)
|
|
JOIN TREE
|
|
TABLE id: 3, table_name: default.bug
|
|
SETTINGS allow_experimental_analyzer=1
|
|
1 21
|
|
1 22
|
|
1 23
|
|
2 21
|
|
2 22
|
|
2 23
|
|
3 21
|
|
3 22
|
|
3 23
|
|
1 21
|
|
1 22
|
|
1 23
|
|
2 21
|
|
2 22
|
|
2 23
|
|
3 21
|
|
3 22
|
|
3 23
|
|
1 21
|
|
1 22
|
|
1 23
|
|
2 21
|
|
2 22
|
|
2 23
|
|
3 21
|
|
3 22
|
|
3 23
|
|
QUERY id: 0
|
|
PROJECTION COLUMNS
|
|
k UInt64
|
|
s UInt64
|
|
PROJECTION
|
|
LIST id: 1, nodes: 2
|
|
COLUMN id: 2, column_name: k, result_type: UInt64, source_id: 3
|
|
COLUMN id: 4, column_name: s, result_type: UInt64, source_id: 3
|
|
JOIN TREE
|
|
TABLE id: 3, table_name: default.bug
|
|
WHERE
|
|
FUNCTION id: 5, function_name: and, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 6, nodes: 2
|
|
FUNCTION id: 7, function_name: in, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 8, nodes: 2
|
|
COLUMN id: 9, column_name: k, result_type: UInt64, source_id: 3
|
|
CONSTANT id: 10, constant_value: Tuple_(UInt64_1, UInt64_2, UInt64_3), constant_value_type: Tuple(UInt8, UInt8, UInt8)
|
|
FUNCTION id: 11, function_name: in, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 12, nodes: 2
|
|
COLUMN id: 13, column_name: s, result_type: UInt64, source_id: 3
|
|
CONSTANT id: 14, constant_value: Tuple_(UInt64_21, UInt64_22, UInt64_23), constant_value_type: Tuple(UInt8, UInt8, UInt8)
|
|
SETTINGS allow_experimental_analyzer=1
|
|
1 21
|
|
1 22
|
|
1 23
|
|
2 21
|
|
2 22
|
|
2 23
|
|
3 21
|
|
3 22
|
|
3 23
|
|
1 21
|
|
1 22
|
|
1 23
|
|
2 21
|
|
2 22
|
|
2 23
|
|
3 21
|
|
3 22
|
|
3 23
|
|
QUERY id: 0
|
|
PROJECTION COLUMNS
|
|
k UInt64
|
|
s UInt64
|
|
PROJECTION
|
|
LIST id: 1, nodes: 2
|
|
COLUMN id: 2, column_name: k, result_type: UInt64, source_id: 3
|
|
COLUMN id: 4, column_name: s, result_type: UInt64, source_id: 3
|
|
JOIN TREE
|
|
QUERY id: 3, is_subquery: 1
|
|
PROJECTION COLUMNS
|
|
k UInt64
|
|
s UInt64
|
|
PROJECTION
|
|
LIST id: 5, nodes: 2
|
|
COLUMN id: 6, column_name: k, result_type: UInt64, source_id: 7
|
|
COLUMN id: 8, column_name: s, result_type: UInt64, source_id: 7
|
|
JOIN TREE
|
|
TABLE id: 7, table_name: default.bug
|
|
WHERE
|
|
FUNCTION id: 9, function_name: in, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 10, nodes: 2
|
|
COLUMN id: 11, column_name: k, result_type: UInt64, source_id: 7
|
|
CONSTANT id: 12, constant_value: Tuple_(UInt64_1, UInt64_2, UInt64_3), constant_value_type: Tuple(UInt8, UInt8, UInt8)
|
|
WHERE
|
|
FUNCTION id: 13, function_name: in, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 14, nodes: 2
|
|
COLUMN id: 15, column_name: s, result_type: UInt64, source_id: 3
|
|
CONSTANT id: 16, constant_value: Tuple_(UInt64_21, UInt64_22, UInt64_23), constant_value_type: Tuple(UInt8, UInt8, UInt8)
|
|
SETTINGS allow_experimental_analyzer=1
|
|
1 1 21 1 1 1
|
|
1 1 22 0 1 1
|
|
1 1 23 0 0 1
|
|
2 1 21 1 1 1
|
|
2 1 22 0 1 1
|
|
2 1 23 0 0 1
|
|
3 1 21 1 1 1
|
|
3 1 22 0 1 1
|
|
3 1 23 0 0 1
|
|
1 1 21 1 1 1
|
|
1 1 22 0 1 1
|
|
1 1 23 0 0 1
|
|
2 1 21 1 1 1
|
|
2 1 22 0 1 1
|
|
2 1 23 0 0 1
|
|
3 1 21 1 1 1
|
|
3 1 22 0 1 1
|
|
3 1 23 0 0 1
|
|
QUERY id: 0
|
|
PROJECTION COLUMNS
|
|
k UInt64
|
|
or(equals(k, 1), equals(k, 2), equals(k, 3)) UInt8
|
|
s UInt64
|
|
equals(s, 21) UInt8
|
|
or(equals(s, 21), equals(s, 22)) UInt8
|
|
or(equals(s, 21), equals(s, 22), equals(s, 23)) UInt8
|
|
PROJECTION
|
|
LIST id: 1, nodes: 6
|
|
COLUMN id: 2, column_name: k, result_type: UInt64, source_id: 3
|
|
FUNCTION id: 4, function_name: in, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 5, nodes: 2
|
|
COLUMN id: 2, column_name: k, result_type: UInt64, source_id: 3
|
|
CONSTANT id: 6, constant_value: Tuple_(UInt64_1, UInt64_2, UInt64_3), constant_value_type: Tuple(UInt8, UInt8, UInt8)
|
|
COLUMN id: 7, column_name: s, result_type: UInt64, source_id: 3
|
|
FUNCTION id: 8, function_name: equals, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 9, nodes: 2
|
|
COLUMN id: 7, column_name: s, result_type: UInt64, source_id: 3
|
|
CONSTANT id: 10, constant_value: UInt64_21, constant_value_type: UInt8
|
|
FUNCTION id: 11, function_name: or, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 12, nodes: 2
|
|
FUNCTION id: 13, function_name: equals, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 14, nodes: 2
|
|
COLUMN id: 7, column_name: s, result_type: UInt64, source_id: 3
|
|
CONSTANT id: 15, constant_value: UInt64_21, constant_value_type: UInt8
|
|
FUNCTION id: 16, function_name: equals, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 17, nodes: 2
|
|
COLUMN id: 7, column_name: s, result_type: UInt64, source_id: 3
|
|
CONSTANT id: 18, constant_value: UInt64_22, constant_value_type: UInt8
|
|
FUNCTION id: 19, function_name: in, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 20, nodes: 2
|
|
COLUMN id: 7, column_name: s, result_type: UInt64, source_id: 3
|
|
CONSTANT id: 21, constant_value: Tuple_(UInt64_21, UInt64_22, UInt64_23), constant_value_type: Tuple(UInt8, UInt8, UInt8)
|
|
JOIN TREE
|
|
TABLE id: 3, table_name: default.bug
|
|
SETTINGS allow_experimental_analyzer=1
|
|
21 1
|
|
22 1
|
|
23 1
|
|
21 1
|
|
22 1
|
|
23 1
|
|
21 1
|
|
22 1
|
|
23 1
|
|
21 1
|
|
22 1
|
|
23 1
|
|
21 1
|
|
22 1
|
|
23 1
|
|
21 1
|
|
22 1
|
|
23 1
|
|
QUERY id: 0
|
|
PROJECTION COLUMNS
|
|
s UInt64
|
|
or(equals(s, 21), equals(s, 22), equals(s, 23)) UInt8
|
|
PROJECTION
|
|
LIST id: 1, nodes: 2
|
|
COLUMN id: 2, column_name: s, result_type: UInt64, source_id: 3
|
|
FUNCTION id: 4, function_name: in, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 5, nodes: 2
|
|
COLUMN id: 2, column_name: s, result_type: UInt64, source_id: 3
|
|
CONSTANT id: 6, constant_value: Tuple_(UInt64_21, UInt64_22, UInt64_23), constant_value_type: Tuple(UInt8, UInt8, UInt8)
|
|
JOIN TREE
|
|
TABLE id: 3, table_name: default.bug
|
|
SETTINGS allow_experimental_analyzer=1
|
|
21 1
|
|
22 1
|
|
23 1
|
|
21 1
|
|
22 1
|
|
23 1
|
|
21 1
|
|
22 1
|
|
23 1
|
|
21 1
|
|
22 1
|
|
23 1
|
|
21 1
|
|
22 1
|
|
23 1
|
|
21 1
|
|
22 1
|
|
23 1
|
|
QUERY id: 0
|
|
PROJECTION COLUMNS
|
|
s UInt64
|
|
or(equals(s, 21), equals(22, s), equals(23, s)) UInt8
|
|
PROJECTION
|
|
LIST id: 1, nodes: 2
|
|
COLUMN id: 2, column_name: s, result_type: UInt64, source_id: 3
|
|
FUNCTION id: 4, function_name: in, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 5, nodes: 2
|
|
COLUMN id: 2, column_name: s, result_type: UInt64, source_id: 3
|
|
CONSTANT id: 6, constant_value: Tuple_(UInt64_21, UInt64_22, UInt64_23), constant_value_type: Tuple(UInt8, UInt8, UInt8)
|
|
JOIN TREE
|
|
TABLE id: 3, table_name: default.bug
|
|
SETTINGS allow_experimental_analyzer=1
|