-
Notifications
You must be signed in to change notification settings - Fork 113
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
Bug: Self-join in database view causes application to hang #2388
Comments
After a bit of digging, it seems like
I traced the logic of compilation in Studio and Engine and realize that, other than the I then tried to test my hypothesis further with property mapping and realized the same problem for the following case
... we can change The workaround is to avoid using |
Also, it seems we don't validate the column at the end of the join expression, for example
^ we cannot navigate to |
select "persontable_1".name as "Name" from PersonTable as "root" left outer join PersonTable as "persontable_1" on ("root".id = "persontable_1".manager_id)
|
Just an update, we will stop working on this for now. |
Similar issues
How are you using Studio?
Legend Studio
Current and expected behavior
If we have a self-join used in a database view definition, the app hangs while trying to observe the graph
Steps to reproduce
Use the provided grammar, go back from text-mode to form-mode, try going back to text-mode
Observing graph...
being shown in the explorer treeModel data
Environment
No response
Possible solution and workaround
No response
Contribution
The text was updated successfully, but these errors were encountered: