Fixed tests

This commit is contained in:
Maksim Kita 2022-10-04 22:46:24 +02:00
parent 400de59a37
commit 17d40eab03

View File

@ -1,11 +1,11 @@
QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, is_group_by_with_totals: 0, is_group_by_with_rollup: 0, is_group_by_with_cube: 0, is_group_by_with_grouping_sets: 0
QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, is_group_by_with_totals: 0, group_by_type: ordinary
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, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, is_group_by_with_totals: 0, is_group_by_with_rollup: 0, is_group_by_with_cube: 0, is_group_by_with_grouping_sets: 0
QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, is_group_by_with_totals: 0, group_by_type: ordinary
PROJECTION
LIST id: 1, nodes: 2
IDENTIFIER id: 2, identifier: id
@ -13,7 +13,7 @@ QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, i
JOIN TREE
IDENTIFIER id: 4, identifier: test_table
--
QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, is_group_by_with_totals: 0, is_group_by_with_rollup: 0, is_group_by_with_cube: 0, is_group_by_with_grouping_sets: 0
QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, is_group_by_with_totals: 0, group_by_type: ordinary
PROJECTION COLUMNS
id UInt64
value String
@ -24,10 +24,10 @@ QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, i
JOIN TREE
TABLE id: 3, table_name: default.test_table
--
QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, is_group_by_with_totals: 0, is_group_by_with_rollup: 0, is_group_by_with_cube: 0, is_group_by_with_grouping_sets: 0
QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, is_group_by_with_totals: 0, group_by_type: ordinary
PROJECTION
LIST id: 1, nodes: 1
FUNCTION id: 2, function_name: arrayMap, is_aggregate_function: 0
FUNCTION id: 2, function_name: arrayMap, function_type: ordinary
ARGUMENTS
LIST id: 3, nodes: 2
LAMBDA id: 4
@ -35,7 +35,7 @@ QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, i
LIST id: 5, nodes: 1
IDENTIFIER id: 6, identifier: x
EXPRESSION
FUNCTION id: 7, function_name: plus, is_aggregate_function: 0
FUNCTION id: 7, function_name: plus, function_type: ordinary
ARGUMENTS
LIST id: 8, nodes: 2
IDENTIFIER id: 9, identifier: x
@ -44,12 +44,12 @@ QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, i
JOIN TREE
IDENTIFIER id: 12, identifier: test_table
--
QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, is_group_by_with_totals: 0, is_group_by_with_rollup: 0, is_group_by_with_cube: 0, is_group_by_with_grouping_sets: 0
QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, is_group_by_with_totals: 0, group_by_type: ordinary
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, is_aggregate_function: 0, result_type: Array(UInt16)
FUNCTION id: 2, function_name: arrayMap, function_type: ordinary, result_type: Array(UInt16)
ARGUMENTS
LIST id: 3, nodes: 2
LAMBDA id: 4
@ -57,7 +57,7 @@ QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, i
LIST id: 5, nodes: 1
COLUMN id: 6, column_name: x, result_type: UInt8, source_id: 4
EXPRESSION
FUNCTION id: 7, function_name: plus, is_aggregate_function: 0, result_type: UInt16
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
@ -66,7 +66,7 @@ QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, i
JOIN TREE
TABLE id: 11, table_name: default.test_table
--
QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, is_group_by_with_totals: 0, is_group_by_with_rollup: 0, is_group_by_with_cube: 0, is_group_by_with_grouping_sets: 0
QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, is_group_by_with_totals: 0, group_by_type: ordinary
WITH
LIST id: 1, nodes: 1
LAMBDA id: 2, alias: lambda
@ -74,26 +74,26 @@ QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, i
LIST id: 3, nodes: 1
IDENTIFIER id: 4, identifier: x
EXPRESSION
FUNCTION id: 5, function_name: plus, is_aggregate_function: 0
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, is_aggregate_function: 0
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, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, is_group_by_with_totals: 0, is_group_by_with_rollup: 0, is_group_by_with_cube: 0, is_group_by_with_grouping_sets: 0
QUERY id: 0, is_subquery: 0, is_cte: 0, is_distinct: 0, is_limit_with_ties: 0, is_group_by_with_totals: 0, group_by_type: ordinary
PROJECTION COLUMNS
lambda(id) UInt64
PROJECTION
LIST id: 1, nodes: 1
FUNCTION id: 2, function_name: plus, is_aggregate_function: 0, result_type: UInt64
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