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
create table public.messages
(
id char(32) not null
primary key,
created_at timestamp not null,
updated_at timestamp not null,
dst char(32) not null,
metadata jsonb default '{}'::jsonb not null,
unread boolean default false not null,
group_id char(32)
references public.groups
on update restrict on delete restrict
);
Any idea as to why that subset works for the messages table and not the posts table?
The text was updated successfully, but these errors were encountered:
Hi! Thanks for reporting this — it’s definitely a bug. We're currently working on fixing issues related to subset queries with circular dependencies (it you case as well).
In your case, there's a circular dependency in the public.posts table, which references itself twice via posts.parent_id and posts.root_id.
Version: 0.2.8
OS: osx arm64
Database: AWS Aurora Postgres v16.6
I am trying to subset a database using the following config:
But I get the following error:
Here is the schema of the posts table:
The same query works on a different table, however:
Here is the schema for the messages table:
Any idea as to why that subset works for the messages table and not the posts table?
The text was updated successfully, but these errors were encountered: