-
Notifications
You must be signed in to change notification settings - Fork 88
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
pg_duckdb conflicts with citus #444
Comments
In what order did you include More generally though, both Citus and pg_duckdb greatly change how Postgres plans and executes its queries. Having them work together well is not an easy task and is not on the current priority list. |
|
I confirm the issue. With Citus enabled, we experience server crashes. This is a serious problem because both Citus and DuckDB complement each other well for analytical tasks. If I have to choose between the two, Citus offers more diverse possibilities. |
Have you checked this? https://github.com/alitrack/duckdb_fdw I'm unsure if it creates the same issue but it's the first that jumped to mind for me. |
I'm closing this as "unplanned" at this time, but feel free to open a discussion. |
What happens?
Server crashes when running
citus
andpg_duckdb
extensions on the same Postgres instanceTo Reproduce
Built
citus
12.1.4 andpg_duckdb
latest git on Postgre 16.4, and enabled both of them. The following querycrashes with backtrace
It is hitting
Assert(plannerRestrictionContextList != NIL);
incitus
at https://github.com/citusdata/citus/blob/main/src/backend/distributed/planner/distributed_planner.c#L2473OS:
Linux
pg_duckdb Version (if built from source use commit hash):
2da4473
Postgres Version (if built from source use commit hash):
16.4
Hardware:
No response
Full Name:
Cheng Chen
Affiliation:
Mooncake Labs
What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.
I have tested with a source build
Did you include all relevant data sets for reproducing the issue?
Not applicable - the reproduction does not require a data set
Did you include all code required to reproduce the issue?
Did you include all relevant configuration (e.g., CPU architecture, Linux distribution) to reproduce the issue?
The text was updated successfully, but these errors were encountered: