-
Notifications
You must be signed in to change notification settings - Fork 59
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
CTE behavior: Citus vs pg #664
Comments
Just a note that this isn't actually implemented yet. Setting repeatable read mode on the coordinator does not propagate to the workers. |
@marcocitus how is our CTE support in 9.0? Any changes from what's listed above? |
No changes |
In citus 9.2 CTEs can now be inlined, i.e. they act the same as a subquery. This happens automatically except when:
|
fyi, I'll open a separate issue on CTE pushdown (CTE inlining) in Citus 9.2, and give more detail information |
Communication goals (e.g. detailed howto vs orientation)
Alert people in case they rely on pg semantics for their CTEs.
Good locations for content in docs structure
Add a CTE section to https://docs.citusdata.com/en/v7.3/develop/reference_sql.html
How does this work? (devs)
As pointed out in citusdata/citus#2153:
We can address the third point by using repeatable mode as mentioned in citusdata/citus#1804. A challenge is that repeatable read needs to be set at the start of a transaction block and the CTE might appear mid-transaction block.
The text was updated successfully, but these errors were encountered: