-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
EnumHasFlagTranslator should clone SelectExpression when repeating #24460
Labels
area-query
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
Comments
smitpatel
added
customer-reported
area-query
type-enhancement
and removed
customer-reported
labels
Mar 20, 2021
For now, I am converting to skip already visited SelectExpression so we don't re-assign new alias. If in future we encounter case where it causes incorrect SQL, we can look into how to resolve it. |
smitpatel
added
the
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
label
Apr 20, 2021
ghost
pushed a commit
that referenced
this issue
Apr 20, 2021
#26532 will resolve it fully. |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-query
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Generated SQL
The SelectExpression is visited twice and mutated in place. Current side effect is first visit applies "g0" alias, second one updates to "g1" erasing "g0" from query.
The text was updated successfully, but these errors were encountered: