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

DOT renderer sometimes renders repeated subgraphs more than once #2880

Open
hatyo opened this issue Aug 15, 2024 · 0 comments
Open

DOT renderer sometimes renders repeated subgraphs more than once #2880

hatyo opened this issue Aug 15, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request planner Related to the query planner

Comments

@hatyo
Copy link
Contributor

hatyo commented Aug 15, 2024

Here is an example of a self-join query that reuses the TypeFilter twice (because it scans the same table twice):

select * from t1 as x, t1 as y

When rendering the RelationalExpression with the group references, it does exactly what we expect:

image

However, when rendering without the group references, i.e. calling:

with false argument, we get:

image

This is somewhat confusing considering that we use the same logical type filter, however it is still rendered twice.

@hatyo hatyo added enhancement New feature or request planner Related to the query planner labels Aug 15, 2024
alecgrieser added a commit to alecgrieser/fdb-record-layer that referenced this issue Aug 16, 2024
alecgrieser added a commit to alecgrieser/fdb-record-layer that referenced this issue Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request planner Related to the query planner
Projects
None yet
Development

No branches or pull requests

2 participants