ClickHouse/tests/queries/0_stateless/02366_explain_query_tree.reference
2022-10-24 10:22:37 +02:00

103 lines
3.5 KiB
Plaintext

QUERY id: 0
PROJECTION
LIST id: 1, nodes: 1
CONSTANT id: 2, constant_value: UInt64_1, constant_value_type: UInt8
JOIN TREE
IDENTIFIER id: 3, identifier: system.one
--
QUERY id: 0
PROJECTION
LIST id: 1, nodes: 2
IDENTIFIER id: 2, identifier: id
IDENTIFIER id: 3, identifier: value
JOIN TREE
IDENTIFIER id: 4, identifier: test_table
--
QUERY id: 0
PROJECTION COLUMNS
id UInt64
value String
PROJECTION
LIST id: 1, nodes: 2
COLUMN id: 2, column_name: id, result_type: UInt64, source_id: 3
COLUMN id: 4, column_name: value, result_type: String, source_id: 3
JOIN TREE
TABLE id: 3, table_name: default.test_table
--
QUERY id: 0
PROJECTION
LIST id: 1, nodes: 1
FUNCTION id: 2, function_name: arrayMap, function_type: ordinary
ARGUMENTS
LIST id: 3, nodes: 2
LAMBDA id: 4
ARGUMENTS
LIST id: 5, nodes: 1
IDENTIFIER id: 6, identifier: x
EXPRESSION
FUNCTION id: 7, function_name: plus, function_type: ordinary
ARGUMENTS
LIST id: 8, nodes: 2
IDENTIFIER id: 9, identifier: x
IDENTIFIER id: 10, identifier: id
CONSTANT id: 11, constant_value: Array_[UInt64_1, UInt64_2, UInt64_3], constant_value_type: Array(UInt8)
JOIN TREE
IDENTIFIER id: 12, identifier: test_table
--
QUERY id: 0
PROJECTION COLUMNS
arrayMap(lambda(tuple(x), plus(x, 1)), [1, 2, 3]) Array(UInt16)
PROJECTION
LIST id: 1, nodes: 1
FUNCTION id: 2, function_name: arrayMap, function_type: ordinary, result_type: Array(UInt16)
ARGUMENTS
LIST id: 3, nodes: 2
LAMBDA id: 4
ARGUMENTS
LIST id: 5, nodes: 1
COLUMN id: 6, column_name: x, result_type: UInt8, source_id: 4
EXPRESSION
FUNCTION id: 7, function_name: plus, function_type: ordinary, result_type: UInt16
ARGUMENTS
LIST id: 8, nodes: 2
COLUMN id: 6, column_name: x, result_type: UInt8, source_id: 4
CONSTANT id: 9, constant_value: UInt64_1, constant_value_type: UInt8
CONSTANT id: 10, constant_value: Array_[UInt64_1, UInt64_2, UInt64_3], constant_value_type: Array(UInt8)
JOIN TREE
TABLE id: 11, table_name: default.test_table
--
QUERY id: 0
WITH
LIST id: 1, nodes: 1
LAMBDA id: 2, alias: lambda
ARGUMENTS
LIST id: 3, nodes: 1
IDENTIFIER id: 4, identifier: x
EXPRESSION
FUNCTION id: 5, function_name: plus, function_type: ordinary
ARGUMENTS
LIST id: 6, nodes: 2
IDENTIFIER id: 7, identifier: x
CONSTANT id: 8, constant_value: UInt64_1, constant_value_type: UInt8
PROJECTION
LIST id: 9, nodes: 1
FUNCTION id: 10, function_name: lambda, function_type: ordinary
ARGUMENTS
LIST id: 11, nodes: 1
IDENTIFIER id: 12, identifier: id
JOIN TREE
IDENTIFIER id: 13, identifier: test_table
--
QUERY id: 0
PROJECTION COLUMNS
lambda(id) UInt64
PROJECTION
LIST id: 1, nodes: 1
FUNCTION id: 2, function_name: plus, function_type: ordinary, result_type: UInt64
ARGUMENTS
LIST id: 3, nodes: 2
COLUMN id: 4, column_name: id, result_type: UInt64, source_id: 5
CONSTANT id: 6, constant_value: UInt64_1, constant_value_type: UInt8
JOIN TREE
TABLE id: 5, table_name: default.test_table