Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ PhysicalResultSink
--hashAgg[GLOBAL, groupByExpr=(k), outputExpr=(k)]
----hashAgg[LOCAL, groupByExpr=(k), outputExpr=(k)]
------PhysicalUnion(constantExprsList=[[TRUE AS `true`]])
--------PhysicalProject[AND[($_random_8_$ >= 0.1),($_random_8_$ <= 0.5)] AS `k`]
----------PhysicalOneRowRelation[random() AS `$_random_8_$`]
--------PhysicalProject[AND[($_random_10_$ >= 0.1),($_random_10_$ <= 0.5)] AS `k`]
----------PhysicalOneRowRelation[random() AS `$_random_10_$`]

-- !union_2 --
PhysicalResultSink
--hashAgg[GLOBAL, groupByExpr=(k), outputExpr=(k)]
----hashAgg[LOCAL, groupByExpr=(k), outputExpr=(k)]
------PhysicalUnion(constantExprsList=[[TRUE AS `true`]])
--------PhysicalProject[AND[((cast(id as DOUBLE) + $_random_9_$) >= 0.1),((cast(id as DOUBLE) + $_random_9_$) <= 0.5)] AS `k`]
----------PhysicalProject[random() AS `$_random_9_$`, t1.id]
--------PhysicalProject[AND[((cast(id as DOUBLE) + $_random_11_$) >= 0.1),((cast(id as DOUBLE) + $_random_11_$) <= 0.5)] AS `k`]
----------PhysicalProject[random() AS `$_random_11_$`, t1.id]
------------PhysicalOlapScan[t1]

-- !union_all_1 --
Expand Down Expand Up @@ -121,22 +121,21 @@ PhysicalResultSink
-- !agg_1 --
PhysicalResultSink
--hashAgg[GLOBAL, groupByExpr=(), outputExpr=(sum(cast(AND[($_random_5_$ >= 0.6),($_random_5_$ <= 0.7)] as TINYINT)) AS `sum(random(100) between 0.6 and 0.7)`)]
----PhysicalProject[$_random_5_$, cast(AND[($_random_5_$ >= 0.6),($_random_5_$ <= 0.7)] as TINYINT) AS `cast(AND[($_random_5_$ >= 0.6),($_random_5_$ <= 0.7)] as TINYINT)`]
------PhysicalOneRowRelation[random(100) AS `$_random_5_$`]
----PhysicalOneRowRelation[random(100) AS `$_random_5_$`]

-- !agg_2 --
PhysicalResultSink
--hashAgg[GLOBAL, groupByExpr=(), outputExpr=(sum(cast(AND[($_random_5_$ >= 0.6),($_random_5_$ <= 0.7)] as TINYINT)) AS `sum(random(100) between 0.6 and 0.7)`, sum(id) AS `sum(id)`)]
----hashAgg[LOCAL, groupByExpr=(), outputExpr=(partial_sum(cast(AND[($_random_5_$ >= 0.6),($_random_5_$ <= 0.7)] as TINYINT)) AS `partial_sum(cast(AND[($_random_5_$ >= 0.6),($_random_5_$ <= 0.7)] as TINYINT))`, partial_sum(id) AS `partial_sum(id)`)]
------PhysicalProject[cast(AND[(random(100) >= 0.6),(random(100) <= 0.7)] as TINYINT) AS `cast(AND[($_random_5_$ >= 0.6),($_random_5_$ <= 0.7)] as TINYINT)`, random(100) AS `$_random_5_$`, t1.id]
------PhysicalProject[random(100) AS `$_random_5_$`, t1.id]
--------PhysicalOlapScan[t1]

-- !agg_3 --
PhysicalResultSink
--PhysicalProject[sum(id), sum(random(100) between 0.6 and 0.7)]
----hashAgg[GLOBAL, groupByExpr=(AND[(random() >= cast(0.1 as DOUBLE)),(random() <= cast(0.5 as DOUBLE))]), outputExpr=(AND[(random() >= cast(0.1 as DOUBLE)),(random() <= cast(0.5 as DOUBLE))], sum(cast(AND[($_random_7_$ >= 0.6),($_random_7_$ <= 0.7)] as TINYINT)) AS `sum(random(100) between 0.6 and 0.7)`, sum(id) AS `sum(id)`)]
------hashAgg[LOCAL, groupByExpr=(AND[(random() >= cast(0.1 as DOUBLE)),(random() <= cast(0.5 as DOUBLE))]), outputExpr=(AND[(random() >= cast(0.1 as DOUBLE)),(random() <= cast(0.5 as DOUBLE))], partial_sum(cast(AND[($_random_7_$ >= 0.6),($_random_7_$ <= 0.7)] as TINYINT)) AS `partial_sum(cast(AND[($_random_7_$ >= 0.6),($_random_7_$ <= 0.7)] as TINYINT))`, partial_sum(id) AS `partial_sum(id)`)]
--------PhysicalProject[AND[($_random_8_$ >= 0.1),($_random_8_$ <= 0.5)] AS `AND[(random() >= cast(0.1 as DOUBLE)),(random() <= cast(0.5 as DOUBLE))]`, cast(AND[(random(100) >= 0.6),(random(100) <= 0.7)] as TINYINT) AS `cast(AND[($_random_7_$ >= 0.6),($_random_7_$ <= 0.7)] as TINYINT)`, random(100) AS `$_random_7_$`, t1.id]
--------PhysicalProject[AND[($_random_8_$ >= 0.1),($_random_8_$ <= 0.5)] AS `AND[(random() >= cast(0.1 as DOUBLE)),(random() <= cast(0.5 as DOUBLE))]`, random(100) AS `$_random_7_$`, t1.id]
----------PhysicalProject[random() AS `$_random_8_$`, t1.id]
------------PhysicalOlapScan[t1]

Expand All @@ -145,7 +144,7 @@ PhysicalResultSink
--PhysicalProject[sum(id), sum(random(100) between 0.6 and 0.7)]
----hashAgg[GLOBAL, groupByExpr=(AND[((cast(id as DOUBLE) + random()) >= cast(0.1 as DOUBLE)),((cast(id as DOUBLE) + random()) <= cast(0.5 as DOUBLE))]), outputExpr=(AND[((cast(id as DOUBLE) + random()) >= cast(0.1 as DOUBLE)),((cast(id as DOUBLE) + random()) <= cast(0.5 as DOUBLE))], sum(cast(AND[($_random_7_$ >= 0.6),($_random_7_$ <= 0.7)] as TINYINT)) AS `sum(random(100) between 0.6 and 0.7)`, sum(id) AS `sum(id)`)]
------hashAgg[LOCAL, groupByExpr=(AND[((cast(id as DOUBLE) + random()) >= cast(0.1 as DOUBLE)),((cast(id as DOUBLE) + random()) <= cast(0.5 as DOUBLE))]), outputExpr=(AND[((cast(id as DOUBLE) + random()) >= cast(0.1 as DOUBLE)),((cast(id as DOUBLE) + random()) <= cast(0.5 as DOUBLE))], partial_sum(cast(AND[($_random_7_$ >= 0.6),($_random_7_$ <= 0.7)] as TINYINT)) AS `partial_sum(cast(AND[($_random_7_$ >= 0.6),($_random_7_$ <= 0.7)] as TINYINT))`, partial_sum(id) AS `partial_sum(id)`)]
--------PhysicalProject[AND[((cast(id as DOUBLE) + $_random_8_$) >= 0.1),((cast(id as DOUBLE) + $_random_8_$) <= 0.5)] AS `AND[((cast(id as DOUBLE) + random()) >= cast(0.1 as DOUBLE)),((cast(id as DOUBLE) + random()) <= cast(0.5 as DOUBLE))]`, cast(AND[(random(100) >= 0.6),(random(100) <= 0.7)] as TINYINT) AS `cast(AND[($_random_7_$ >= 0.6),($_random_7_$ <= 0.7)] as TINYINT)`, random(100) AS `$_random_7_$`, t1.id]
--------PhysicalProject[AND[((cast(id as DOUBLE) + $_random_8_$) >= 0.1),((cast(id as DOUBLE) + $_random_8_$) <= 0.5)] AS `AND[((cast(id as DOUBLE) + random()) >= cast(0.1 as DOUBLE)),((cast(id as DOUBLE) + random()) <= cast(0.5 as DOUBLE))]`, random(100) AS `$_random_7_$`, t1.id]
----------PhysicalProject[random() AS `$_random_8_$`, t1.id]
------------PhysicalOlapScan[t1]

Expand Down
Loading