You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
postgres=# create table s (i numeric, j numeric);
CREATE TABLE
postgres=# create view v_s as select sum(i)*0.5 as a, sum(i)/sum(j) as b from s;
CREATE VIEW
postgres=# create incremental materialized view mv_s as select sum(i)*0.5 as a, sum(i)/sum(j) as b from s;SELECT1
postgres=# select * from mv_s; select * from v_s;
a | b
---+---
|
(1 row)
a | b
---+---
|
(1 row)
postgres=# insert into s values (1,2);
INSERT 01
postgres=# select * from mv_s; select * from v_s;
a | b
---+---
|
(1 row)
a | b
-----+------------------------0.5 | 0.50000000000000000000
(1 row)
The text was updated successfully, but these errors were encountered:
IMMV is not supported for expresion which contains aggragate function
in targetlist. Previously, There are cases in which column value of
IMMV is incorrect, bacause it was not checked if it used the above
expression.
GitHub issue #96
The text was updated successfully, but these errors were encountered: