mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-06 06:22:39 +00:00
85 lines
1.8 KiB
Plaintext
85 lines
1.8 KiB
Plaintext
4
|
|
0
|
|
0
|
|
0
|
|
4
|
|
4
|
|
4
|
|
0
|
|
4
|
|
1
|
|
1
|
|
1
|
|
0
|
|
1
|
|
1
|
|
1
|
|
1
|
|
0
|
|
0
|
|
1
|
|
1
|
|
1
|
|
1
|
|
0
|
|
0
|
|
1
|
|
1
|
|
0
|
|
1
|
|
1
|
|
0
|
|
1
|
|
1
|
|
0
|
|
SELECT count() AS `count()`
|
|
FROM constraint_test_constants
|
|
WHERE (b > 100) OR (c > 100)
|
|
SELECT count() AS `count()`
|
|
FROM constraint_test_constants
|
|
WHERE c > 100
|
|
QUERY id: 0
|
|
PROJECTION COLUMNS
|
|
count() UInt64
|
|
PROJECTION
|
|
LIST id: 1, nodes: 1
|
|
FUNCTION id: 2, function_name: count, function_type: aggregate, result_type: UInt64
|
|
JOIN TREE
|
|
TABLE id: 3, alias: __table1, table_name: default.constraint_test_constants
|
|
WHERE
|
|
FUNCTION id: 4, function_name: greater, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 5, nodes: 2
|
|
COLUMN id: 6, column_name: c, result_type: Int64, source_id: 3
|
|
CONSTANT id: 7, constant_value: UInt64_100, constant_value_type: UInt8
|
|
SETTINGS allow_experimental_analyzer=1
|
|
SELECT count() AS `count()`
|
|
FROM constraint_test_constants
|
|
WHERE c > 100
|
|
QUERY id: 0
|
|
PROJECTION COLUMNS
|
|
count() UInt64
|
|
PROJECTION
|
|
LIST id: 1, nodes: 1
|
|
FUNCTION id: 2, function_name: count, function_type: aggregate, result_type: UInt64
|
|
JOIN TREE
|
|
TABLE id: 3, alias: __table1, table_name: default.constraint_test_constants
|
|
WHERE
|
|
FUNCTION id: 4, function_name: greater, function_type: ordinary, result_type: UInt8
|
|
ARGUMENTS
|
|
LIST id: 5, nodes: 2
|
|
COLUMN id: 6, column_name: c, result_type: Int64, source_id: 3
|
|
CONSTANT id: 7, constant_value: UInt64_100, constant_value_type: UInt8
|
|
SETTINGS allow_experimental_analyzer=1
|
|
SELECT count() AS `count()`
|
|
FROM constraint_test_constants
|
|
QUERY id: 0
|
|
PROJECTION COLUMNS
|
|
count() UInt64
|
|
PROJECTION
|
|
LIST id: 1, nodes: 1
|
|
FUNCTION id: 2, function_name: count, function_type: aggregate, result_type: UInt64
|
|
JOIN TREE
|
|
TABLE id: 3, alias: __table1, table_name: default.constraint_test_constants
|
|
SETTINGS allow_experimental_analyzer=1
|