Increase the functionality of advanced materialized view This feature already supported by legacy planner with PR #19650 This PR implement it in Nereids. This PR implement the features as below: 1. Support multiple columns in aggregate function. eg: select sum(c1 + c2) from t1; 2. Supports complex expressions. eg: select abs(c1), sum(abc(c1+1) + 1) from t1; TODO: 1. Support adding where in materialized view
10 lines
188 B
Plaintext
10 lines
188 B
Plaintext
-- This file is automatically generated. You should know what you did if you want to edit this
|
|
-- !select_star --
|
|
2020-01-01 1 a 1
|
|
2020-01-01 1 a 2
|
|
2020-01-02 2 b 2
|
|
|
|
-- !select_mv --
|
|
1 2
|
|
|