Fix shared exprs bugs when create inline view
This commit is contained in:
@ -35,7 +35,7 @@ Outputs & filters:
|
||||
2 - output(nil), filter(nil), rowset=256
|
||||
dop=2
|
||||
3 - output(nil), filter(nil), rowset=256
|
||||
4 - output([t1.c1], [t1.c2], [T_FUN_COUNT_SUM(T_FUN_COUNT(*))]), filter(nil), rowset=256
|
||||
4 - output([T_FUN_COUNT_SUM(T_FUN_COUNT(*))], [t1.c1], [t1.c2]), filter(nil), rowset=256
|
||||
group([t1.c1], [t1.c2]), agg_func([T_FUN_COUNT_SUM(T_FUN_COUNT(*))])
|
||||
5 - output([t1.c1], [t1.c2], [T_FUN_COUNT(*)]), filter(nil), rowset=256
|
||||
6 - output([t1.c1], [t1.c2], [T_FUN_COUNT(*)]), filter(nil), rowset=256
|
||||
@ -62,10 +62,10 @@ Outputs & filters:
|
||||
dop=2
|
||||
18 - output([VIEW2.t1.c1], [VIEW2.t1.c2]), filter(nil), rowset=256
|
||||
access([VIEW2.t1.c1], [VIEW2.t1.c2])
|
||||
19 - output([VIEW3.t1.c1], [VIEW3.T_FUN_COUNT(*)]), filter(nil), rowset=256
|
||||
access([VIEW3.t1.c1], [VIEW3.T_FUN_COUNT(*)])
|
||||
20 - output([VIEW1.t1.c1], [VIEW1.t1.c2], [VIEW1.T_FUN_COUNT(*)]), filter(nil), rowset=256
|
||||
access([VIEW1.t1.c1], [VIEW1.t1.c2], [VIEW1.T_FUN_COUNT(*)])
|
||||
19 - output([VIEW3.T_FUN_COUNT(*)], [VIEW3.t1.c1]), filter(nil), rowset=256
|
||||
access([VIEW3.T_FUN_COUNT(*)], [VIEW3.t1.c1])
|
||||
20 - output([VIEW1.T_FUN_COUNT(*)], [VIEW1.t1.c1], [VIEW1.t1.c2]), filter(nil), rowset=256
|
||||
access([VIEW1.T_FUN_COUNT(*)], [VIEW1.t1.c1], [VIEW1.t1.c2])
|
||||
explain select /*+ use_px parallel(2) use_merge(a b) */ b.c2, sum(a.c3) from (select /*+ NO_USE_HASH_AGGREGATION */ c1, c2, count(*) c3 from t1 group by 1, 2) a, t2 b where a.c1 = b.c1 group by 1;
|
||||
Query Plan
|
||||
=========================================================================
|
||||
|
||||
Reference in New Issue
Block a user