Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not create IMMV including types which don't have an equality operator #48

Open
yugo-n opened this issue Dec 6, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@yugo-n
Copy link
Collaborator

yugo-n commented Dec 6, 2019

For example, box and json type cannot be used.

test4=# create table boxes (b box);
CREATE TABLE
test4=# create incremental materialized view v as select * from boxes ;
ERROR:  could not identify an equality operator for type box
test4=# create table j (d json);
CREATE TABLE
test4=# create incremental materialized view v as select * from j ;
ERROR:  could not identify an equality operator for type json

jsonb can be used.

test4=# create table j2 (d jsonb);
CREATE TABLE
test4=# create incremental materialized view v as select * from j2 ;
SELECT 0
@yugo-n yugo-n added the bug Something isn't working label Sep 6, 2022
@yugo-n
Copy link
Collaborator Author

yugo-n commented Sep 6, 2022

Since #92 , we can create IMMV using such base tables, but we cannot insert/delete/update the table, which results in the same error. We should be prevent from creating IMMV at the definition time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant