ClickHouse/tests/queries/0_stateless/02227_union_match_by_name.reference

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

54 lines
2.1 KiB
Plaintext
Raw Normal View History

2023-03-10 10:36:54 +00:00
-- { echoOn }
EXPLAIN header = 1, optimize = 0 SELECT avgWeighted(x, y) FROM (SELECT NULL, 255 AS x, 1 AS y UNION ALL SELECT y, NULL AS x, 1 AS y);
2023-03-04 17:46:40 +00:00
Expression (Project names)
Header: avgWeighted(x, y) Nullable(Float64)
2023-03-04 17:46:40 +00:00
Expression (Projection)
Header: avgWeighted(x_0, y_1) Nullable(Float64)
Aggregating
2023-03-04 17:46:40 +00:00
Header: avgWeighted(x_0, y_1) Nullable(Float64)
Expression (Before GROUP BY)
2023-03-04 17:46:40 +00:00
Header: x_0 Nullable(UInt8)
y_1 UInt8
Expression (Change column names to column identifiers)
Header: x_0 Nullable(UInt8)
y_1 UInt8
Union
Header: NULL Nullable(UInt8)
x Nullable(UInt8)
y UInt8
2023-03-04 17:46:40 +00:00
Expression (Conversion before UNION)
Header: NULL Nullable(UInt8)
x Nullable(UInt8)
y UInt8
2023-03-04 17:46:40 +00:00
Expression (Project names)
Header: NULL Nullable(Nothing)
x UInt8
y UInt8
Expression (Projection)
Header: NULL_Nullable(Nothing) Nullable(Nothing)
255_UInt8 UInt8
1_UInt8 UInt8
Expression (Change column names to column identifiers)
2023-05-22 15:43:30 +00:00
Header: dummy_0 UInt8
2023-03-04 17:46:40 +00:00
ReadFromStorage (SystemOne)
Header: dummy UInt8
Expression (Conversion before UNION)
Header: NULL Nullable(UInt8)
x Nullable(UInt8)
y UInt8
2023-03-04 17:46:40 +00:00
Expression (Project names)
Header: y UInt8
x Nullable(Nothing)
y UInt8
Expression (Projection)
Header: 1_UInt8 UInt8
NULL_Nullable(Nothing) Nullable(Nothing)
1_UInt8 UInt8
Expression (Change column names to column identifiers)
2023-05-22 15:43:30 +00:00
Header: dummy_0 UInt8
2023-03-04 17:46:40 +00:00
ReadFromStorage (SystemOne)
Header: dummy UInt8
SELECT avgWeighted(x, y) FROM (SELECT NULL, 255 AS x, 1 AS y UNION ALL SELECT y, NULL AS x, 1 AS y);
255