-
Notifications
You must be signed in to change notification settings - Fork 399
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
ISE with aliases and with bindings #6561
Comments
When alias is created, its shape might contain references to other shapes generated during compilation. For example:
Compilation will generate two shapes: one for edgedb/edb/schema/expraliases.py Lines 524 to 535 in 4865706
To decide which shapes are actually needed, we use this criteria: edgedb/edb/schema/expraliases.py Lines 71 to 86 in 4865706
We basically check if the name of the shape starts with dunder name of the alias. This works because we generate "pretty" names when compiling aliases: edgedb/edb/edgeql/compiler/viewgen.py Lines 181 to 205 in 4865706
The problem of this issue stems from that fact that when we compile edgedb/edb/edgeql/compiler/stmtctx.py Line 711 in 4865706
So the name of the name of the view for our A few observations:
So I've tried removing the check for This does not fix the issue, it fails with the same error, because the new shape is removed during computing of the delta between current and target schema: Lines 314 to 327 in 4865706
My questions are:
|
Schema:
The text was updated successfully, but these errors were encountered: